Skip to content

Commit

Permalink
"mobile-device" class should be remove on destroy (#2627)
Browse files Browse the repository at this point in the history
  • Loading branch information
ex1st authored Aug 31, 2021
1 parent f5fdc44 commit e2425ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -3402,7 +3402,7 @@
this.$element
.off(EVENT_KEY)
.removeData('selectpicker')
.removeClass('bs-select-hidden selectpicker');
.removeClass('bs-select-hidden selectpicker mobile-device');

$(window).off(EVENT_KEY + '.' + this.selectId);
}
Expand Down

0 comments on commit e2425ed

Please sign in to comment.