Skip to content

Commit

Permalink
changed JQuery size() to length
Browse files Browse the repository at this point in the history
  • Loading branch information
aadiyahsi authored and aadiyahsi committed Jan 20, 2017
1 parent d85e441 commit d085143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ $.AdminBSB.dropdownMenu = {
var effectIn = $.AdminBSB.options.dropdownMenu.effectIn, effectOut = $.AdminBSB.options.dropdownMenu.effectOut;
var dropdown = $(target), dropdownMenu = $('.dropdown-menu', target);

if (dropdown.size() > 0) {
if (dropdown.length > 0) {
var udEffectIn = dropdown.data('effect-in');
var udEffectOut = dropdown.data('effect-out');
if (udEffectIn !== undefined) { effectIn = udEffectIn; }
Expand Down

0 comments on commit d085143

Please sign in to comment.