mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
oh bootbox, I forgive you. (I lost hope in this actually being resolved upstream)
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
/*global define, socket, app, admin, utils, bootbox, RELATIVE_PATH*/
|
/*global define, socket, app, admin, utils, RELATIVE_PATH*/
|
||||||
|
|
||||||
define('admin/manage/flags', ['infinitescroll', 'admin/selectable'], function(infinitescroll, selectable) {
|
define('admin/manage/flags', ['infinitescroll', 'admin/selectable'], function(infinitescroll, selectable) {
|
||||||
var Flags = {};
|
var Flags = {};
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ define('admin/manage/tags', ['infinitescroll', 'admin/selectable'], function(inf
|
|||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
handleColorPickers();
|
handleColorPickers();
|
||||||
}, 500); // bootbox made me do it.
|
}, 500);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ define(function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
setTimeout(function() { //bootbox was rewritten for BS3 and I had to add this timeout for the previous code to work. TODO: to look into
|
setTimeout(function() {
|
||||||
$('.bootbox .fa-icons i').on('click', function() {
|
$('.bootbox .fa-icons i').on('click', function() {
|
||||||
$('.bootbox .selected').removeClass('selected');
|
$('.bootbox .selected').removeClass('selected');
|
||||||
$(this).addClass('selected');
|
$(this).addClass('selected');
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
/*global io, templates, translator, ajaxify, utils, RELATIVE_PATH*/
|
/*global io, templates, translator, ajaxify, utils, bootbox, RELATIVE_PATH*/
|
||||||
|
|
||||||
var socket,
|
var socket,
|
||||||
config,
|
config,
|
||||||
|
|||||||
Reference in New Issue
Block a user