bugfixes
This commit is contained in:
parent
784f5d9fd4
commit
e0cc524e32
@ -11188,7 +11188,7 @@
|
|||||||
editMascot = {};
|
editMascot = {};
|
||||||
$.rm($.id('mascotConf'));
|
$.rm($.id('mascotConf'));
|
||||||
Style.addStyle();
|
Style.addStyle();
|
||||||
return Settings.open("mascots");
|
return Settings.open("Mascots");
|
||||||
},
|
},
|
||||||
importMascot: function(evt) {
|
importMascot: function(evt) {
|
||||||
var file, reader;
|
var file, reader;
|
||||||
@ -11225,7 +11225,7 @@
|
|||||||
});
|
});
|
||||||
alert("Mascot \"" + name + "\" imported!");
|
alert("Mascot \"" + name + "\" imported!");
|
||||||
$.rm($("#mascotContainer", d.body));
|
$.rm($("#mascotContainer", d.body));
|
||||||
return Settings.open('mascots');
|
return Settings.open('Mascots');
|
||||||
};
|
};
|
||||||
return reader.readAsText(file);
|
return reader.readAsText(file);
|
||||||
}
|
}
|
||||||
@ -11498,7 +11498,7 @@
|
|||||||
},
|
},
|
||||||
addStyle: function(theme) {
|
addStyle: function(theme) {
|
||||||
if (!theme) {
|
if (!theme) {
|
||||||
theme = Themes[_conf['theme']] || Themes['Yotsuba B'];
|
theme = Themes[Conf['theme']] || Themes['Yotsuba B'];
|
||||||
}
|
}
|
||||||
Style.dynamicCSS.textContent = Style.dynamic();
|
Style.dynamicCSS.textContent = Style.dynamic();
|
||||||
Style.iconPositions();
|
Style.iconPositions();
|
||||||
@ -11980,7 +11980,7 @@
|
|||||||
Conf['editMode'] = false;
|
Conf['editMode'] = false;
|
||||||
$.rm($.id('themeConf'));
|
$.rm($.id('themeConf'));
|
||||||
Style.addStyle();
|
Style.addStyle();
|
||||||
return Settings.open('themes');
|
return Settings.open('Themes');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -11182,7 +11182,7 @@
|
|||||||
editMascot = {};
|
editMascot = {};
|
||||||
$.rm($.id('mascotConf'));
|
$.rm($.id('mascotConf'));
|
||||||
Style.addStyle();
|
Style.addStyle();
|
||||||
return Settings.open("mascots");
|
return Settings.open("Mascots");
|
||||||
},
|
},
|
||||||
importMascot: function(evt) {
|
importMascot: function(evt) {
|
||||||
var file, reader;
|
var file, reader;
|
||||||
@ -11219,7 +11219,7 @@
|
|||||||
});
|
});
|
||||||
alert("Mascot \"" + name + "\" imported!");
|
alert("Mascot \"" + name + "\" imported!");
|
||||||
$.rm($("#mascotContainer", d.body));
|
$.rm($("#mascotContainer", d.body));
|
||||||
return Settings.open('mascots');
|
return Settings.open('Mascots');
|
||||||
};
|
};
|
||||||
return reader.readAsText(file);
|
return reader.readAsText(file);
|
||||||
}
|
}
|
||||||
@ -11492,7 +11492,7 @@
|
|||||||
},
|
},
|
||||||
addStyle: function(theme) {
|
addStyle: function(theme) {
|
||||||
if (!theme) {
|
if (!theme) {
|
||||||
theme = Themes[_conf['theme']] || Themes['Yotsuba B'];
|
theme = Themes[Conf['theme']] || Themes['Yotsuba B'];
|
||||||
}
|
}
|
||||||
Style.dynamicCSS.textContent = Style.dynamic();
|
Style.dynamicCSS.textContent = Style.dynamic();
|
||||||
Style.iconPositions();
|
Style.iconPositions();
|
||||||
@ -11974,7 +11974,7 @@
|
|||||||
Conf['editMode'] = false;
|
Conf['editMode'] = false;
|
||||||
$.rm($.id('themeConf'));
|
$.rm($.id('themeConf'));
|
||||||
Style.addStyle();
|
Style.addStyle();
|
||||||
return Settings.open('themes');
|
return Settings.open('Themes');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -11165,7 +11165,7 @@
|
|||||||
editMascot = {};
|
editMascot = {};
|
||||||
$.rm($.id('mascotConf'));
|
$.rm($.id('mascotConf'));
|
||||||
Style.addStyle();
|
Style.addStyle();
|
||||||
return Settings.open("mascots");
|
return Settings.open("Mascots");
|
||||||
},
|
},
|
||||||
importMascot: function(evt) {
|
importMascot: function(evt) {
|
||||||
var file, reader;
|
var file, reader;
|
||||||
@ -11202,7 +11202,7 @@
|
|||||||
});
|
});
|
||||||
alert("Mascot \"" + name + "\" imported!");
|
alert("Mascot \"" + name + "\" imported!");
|
||||||
$.rm($("#mascotContainer", d.body));
|
$.rm($("#mascotContainer", d.body));
|
||||||
return Settings.open('mascots');
|
return Settings.open('Mascots');
|
||||||
};
|
};
|
||||||
return reader.readAsText(file);
|
return reader.readAsText(file);
|
||||||
}
|
}
|
||||||
@ -11476,7 +11476,7 @@
|
|||||||
},
|
},
|
||||||
addStyle: function(theme) {
|
addStyle: function(theme) {
|
||||||
if (!theme) {
|
if (!theme) {
|
||||||
theme = Themes[_conf['theme']] || Themes['Yotsuba B'];
|
theme = Themes[Conf['theme']] || Themes['Yotsuba B'];
|
||||||
}
|
}
|
||||||
Style.dynamicCSS.textContent = Style.dynamic();
|
Style.dynamicCSS.textContent = Style.dynamic();
|
||||||
Style.iconPositions();
|
Style.iconPositions();
|
||||||
@ -11958,7 +11958,7 @@
|
|||||||
Conf['editMode'] = false;
|
Conf['editMode'] = false;
|
||||||
$.rm($.id('themeConf'));
|
$.rm($.id('themeConf'));
|
||||||
Style.addStyle();
|
Style.addStyle();
|
||||||
return Settings.open('themes');
|
return Settings.open('Themes');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -303,7 +303,7 @@ MascotTools =
|
|||||||
editMascot = {}
|
editMascot = {}
|
||||||
$.rm $.id 'mascotConf'
|
$.rm $.id 'mascotConf'
|
||||||
Style.addStyle()
|
Style.addStyle()
|
||||||
Settings.open "mascots"
|
Settings.open "Mascots"
|
||||||
|
|
||||||
importMascot: (evt) ->
|
importMascot: (evt) ->
|
||||||
file = evt.target.files[0]
|
file = evt.target.files[0]
|
||||||
@ -336,6 +336,6 @@ MascotTools =
|
|||||||
|
|
||||||
alert "Mascot \"#{name}\" imported!"
|
alert "Mascot \"#{name}\" imported!"
|
||||||
$.rm $("#mascotContainer", d.body)
|
$.rm $("#mascotContainer", d.body)
|
||||||
Settings.open 'mascots'
|
Settings.open 'Mascots'
|
||||||
|
|
||||||
reader.readAsText(file)
|
reader.readAsText(file)
|
||||||
@ -120,7 +120,7 @@ Style =
|
|||||||
|
|
||||||
addStyle: (theme) ->
|
addStyle: (theme) ->
|
||||||
unless theme
|
unless theme
|
||||||
theme = Themes[_conf['theme']] or Themes['Yotsuba B']
|
theme = Themes[Conf['theme']] or Themes['Yotsuba B']
|
||||||
|
|
||||||
Style.dynamicCSS.textContent = Style.dynamic()
|
Style.dynamicCSS.textContent = Style.dynamic()
|
||||||
Style.iconPositions()
|
Style.iconPositions()
|
||||||
|
|||||||
@ -352,4 +352,4 @@ ThemeTools =
|
|||||||
Conf['editMode'] = false
|
Conf['editMode'] = false
|
||||||
$.rm $.id 'themeConf'
|
$.rm $.id 'themeConf'
|
||||||
Style.addStyle()
|
Style.addStyle()
|
||||||
Settings.open 'themes'
|
Settings.open 'Themes'
|
||||||
Loading…
x
Reference in New Issue
Block a user