mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00: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:
committed by
Tim Abbott
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user