mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
linting client side modules
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
/* global define, app, RELATIVE_PATH */
|
||||
/* global define, app, translator, config, RELATIVE_PATH */
|
||||
|
||||
define('forum/login', ['csrf'], function(csrf) {
|
||||
var Login = {};
|
||||
@@ -31,7 +31,7 @@ define('forum/login', ['csrf'], function(csrf) {
|
||||
},
|
||||
error: function(data, status) {
|
||||
translator.translate(data.responseText, config.defaultLang, function(translated) {
|
||||
errorEl.find('p').text(translated)
|
||||
errorEl.find('p').text(translated);
|
||||
errorEl.show();
|
||||
submitEl.removeClass('disabled');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user