We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2a530 commit cd5e33fCopy full SHA for cd5e33f
src/DebugBar/Resources/debugbar.js
@@ -1207,7 +1207,9 @@ if (typeof(PhpDebugBar) == 'undefined') {
1207
var xhr = this;
1208
this.addEventListener("readystatechange", function() {
1209
var skipUrl = self.debugbar.openHandler ? self.debugbar.openHandler.get('url') : null;
1210
- if (xhr.readyState == 4 && url.indexOf(skipUrl) !== 0) {
+ var href = (typeof url === 'string') ? url : url.href;
1211
+
1212
+ if (xhr.readyState == 4 && href.indexOf(skipUrl) !== 0) {
1213
self.handle(xhr);
1214
}
1215
}, false);
0 commit comments