mirror of https://github.com/zulip/zulip.git
Bootstrap.js: Fix null is not an object error.
This commit is contained in:
parent
560db2d482
commit
213b8cef0c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue