Commit 376b126c authored by git's avatar git Committed by nikunj
Browse files

Issue #2857037 by shevchess: Error on mobile device when chosen is enable

parent 268e8999
......@@ -13,7 +13,7 @@
$(this).trigger('click');
})
var chosen = $select.data('chosen');
if(!chosen.container.is(':hidden')) {
if (typeof chosen !== 'undefined' && !chosen.container.is(':hidden')) {
options.ignore = fixIgnore(options.ignore, $select.attr('id'));
}
});
......
Markdown is supported
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