reopening a deleted style tab should switch to adding
This commit is contained in:
parent
519d745f59
commit
e69b6482b7
|
@ -1329,9 +1329,9 @@ function init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function setStyleMeta(style) {
|
function setStyleMeta(style) {
|
||||||
$('#name').value = style.name;
|
$('#name').value = style.name || '';
|
||||||
$('#enabled').checked = style.enabled;
|
$('#enabled').checked = style.enabled !== false;
|
||||||
$('#url').href = style.url;
|
$('#url').href = style.url || '';
|
||||||
}
|
}
|
||||||
|
|
||||||
function initWithStyle({style, codeIsUpdated}) {
|
function initWithStyle({style, codeIsUpdated}) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user