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) {
|
||||
$('#name').value = style.name;
|
||||
$('#enabled').checked = style.enabled;
|
||||
$('#url').href = style.url;
|
||||
$('#name').value = style.name || '';
|
||||
$('#enabled').checked = style.enabled !== false;
|
||||
$('#url').href = style.url || '';
|
||||
}
|
||||
|
||||
function initWithStyle({style, codeIsUpdated}) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user