Bootstrap.js: Fix null is not an object error.

This commit is contained in:
Rohith Asrk 2017-01-09 15:39:45 +05:30 committed by Tim Abbott
parent 560db2d482
commit 213b8cef0c
1 changed files with 1 additions and 1 deletions

View File

@ -1033,7 +1033,7 @@
} }
, removeBackdrop: function () { , removeBackdrop: function () {
if (this !== null) { if (this.$backdrop && this.$backdrop.remove) {
this.$backdrop.remove(); this.$backdrop.remove();
} }
this.$backdrop = null this.$backdrop = null