mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-06 11:35:40 +00:00
Check for existence of global_context before access
This commit is contained in:
parent
6f7ea071ff
commit
77fc23ea00
@ -17,6 +17,7 @@ var myGet = function (arg) {
|
||||
const originalResult = originalGet.apply(this, [arg]);
|
||||
// If searchtools.js of sphinx is used
|
||||
if (
|
||||
window.global_context &&
|
||||
window.global_context.get_parameters &&
|
||||
(window.location.search === "") &&
|
||||
(Array.from(this.entries()).length == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user