mirror of https://github.com/zulip/zulip.git
zjsquery: Give special treatment to "body" tag.
We don't do things like $('table') much in our code, but $('body') is in the code.
This commit is contained in:
parent
3971fae05d
commit
f5e0794d5c
|
@ -315,6 +315,7 @@ exports.make_zjquery = function () {
|
|||
('<#.'.indexOf(selector[0]) >= 0) ||
|
||||
(selector === 'window-stub') ||
|
||||
(selector === 'document-stub') ||
|
||||
(selector === 'body') ||
|
||||
(selector === 'html') ||
|
||||
(selector.location) ||
|
||||
(selector.indexOf('#') >= 0) ||
|
||||
|
|
Loading…
Reference in New Issue