mirror of
https://github.com/zulip/zulip.git
synced 2026-06-12 21:00:58 +08:00
[Bootstrap]: Fix Null Case Issue.
This fixes the case in which `this` evaluates as null and throws an error in TravisCI.
This commit is contained in:
parent
2aa9512506
commit
0e3332d86e
4
static/third/bootstrap/js/bootstrap.js
vendored
4
static/third/bootstrap/js/bootstrap.js
vendored
@ -1033,7 +1033,9 @@
|
||||
}
|
||||
|
||||
, removeBackdrop: function () {
|
||||
this.$backdrop.remove()
|
||||
if (this !== null) {
|
||||
this.$backdrop.remove();
|
||||
}
|
||||
this.$backdrop = null
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user