mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
closes #3141
This commit is contained in:
@@ -565,6 +565,14 @@ app.cacheBuster = null;
|
||||
});
|
||||
};
|
||||
|
||||
app.loadJQueryUI = function(callback) {
|
||||
if (typeof $().autocomplete === 'function') {
|
||||
return callback();
|
||||
}
|
||||
|
||||
$.getScript(RELATIVE_PATH + '/vendor/jquery/js/jquery-ui-1.10.4.custom.js', callback);
|
||||
};
|
||||
|
||||
app.showEmailConfirmWarning = function(err) {
|
||||
if (!config.requireEmailConfirmation || !app.user.uid) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user