Skip to content
Snippets Groups Projects
Commit c28600b0 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Fix account ajax overreach bug.

parent ece3de6f
No related merge requests found
......@@ -130,7 +130,7 @@ VuFind.register('account', function Account() {
_submodules[name] = typeof module == 'function' ? module() : module;
}
var $el = $(_submodules[name].selector);
if ($el) {
if ($el.length > 0) {
$el.removeClass("hidden");
_statuses[name] = LOADING;
_load(name);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment