Looks like the import mascot code was broken anyways!
This commit is contained in:
parent
44a031f152
commit
572773ad8b
@ -13365,7 +13365,7 @@
|
||||
return;
|
||||
}
|
||||
}
|
||||
Mascots[name] = imported;
|
||||
Mascots[name] = mascot;
|
||||
return $.get("userMascots", {}, function(_arg) {
|
||||
var userMascots;
|
||||
userMascots = _arg.userMascots;
|
||||
@ -16857,9 +16857,7 @@
|
||||
$.on($("#importMascot", batchmascots), 'click', function() {
|
||||
return this.nextSibling.click();
|
||||
});
|
||||
$.on($("#importMascotButton", batchmascots), 'change', function(e) {
|
||||
return MascotTools.importMascot(e);
|
||||
});
|
||||
$.on($("#importMascotButton", batchmascots), 'change', MascotTools.importMascot);
|
||||
$.on($('#undelete', batchmascots), 'click', function() {
|
||||
var mascots;
|
||||
if (!(Conf["Deleted Mascots"].length > 0)) {
|
||||
|
||||
@ -13354,7 +13354,7 @@
|
||||
return;
|
||||
}
|
||||
}
|
||||
Mascots[name] = imported;
|
||||
Mascots[name] = mascot;
|
||||
return $.get("userMascots", {}, function(_arg) {
|
||||
var userMascots;
|
||||
userMascots = _arg.userMascots;
|
||||
@ -16850,9 +16850,7 @@
|
||||
$.on($("#importMascot", batchmascots), 'click', function() {
|
||||
return this.nextSibling.click();
|
||||
});
|
||||
$.on($("#importMascotButton", batchmascots), 'change', function(e) {
|
||||
return MascotTools.importMascot(e);
|
||||
});
|
||||
$.on($("#importMascotButton", batchmascots), 'change', MascotTools.importMascot);
|
||||
$.on($('#undelete', batchmascots), 'click', function() {
|
||||
var mascots;
|
||||
if (!(Conf["Deleted Mascots"].length > 0)) {
|
||||
|
||||
@ -727,8 +727,7 @@ Settings =
|
||||
$.on $("#importMascot", batchmascots), 'click', ->
|
||||
@nextSibling.click()
|
||||
|
||||
$.on $("#importMascotButton", batchmascots), 'change', (e) ->
|
||||
MascotTools.importMascot e
|
||||
$.on $("#importMascotButton", batchmascots), 'change', MascotTools.importMascot
|
||||
|
||||
$.on $('#undelete', batchmascots), 'click', ->
|
||||
unless Conf["Deleted Mascots"].length > 0
|
||||
|
||||
@ -371,7 +371,7 @@ MascotTools =
|
||||
if Mascots[name] and not $.remove Conf["Deleted Mascots"], name
|
||||
return unless confirm "The mascot #{name} already exists? Would you like to overwrite it?"
|
||||
|
||||
Mascots[name] = imported
|
||||
Mascots[name] = mascot
|
||||
|
||||
$.get "userMascots", {}, ({userMascots}) ->
|
||||
userMascots[name] = Mascots[name]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user