mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-16 21:08:34 +01:00
Update openhandler.js (#685)
Update canonical search in url ?& symbols debug handler url ajax
This commit is contained in:
parent
0a2ddcb45c
commit
c2f1006129
@ -190,7 +190,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
ajax: function(data, callback) {
|
||||
var url = this.get('url');
|
||||
if (data) {
|
||||
url = url + '?' + new URLSearchParams(data);
|
||||
url = url + ( url.includes('?') ? '&' : '?' ) + new URLSearchParams(data);
|
||||
}
|
||||
|
||||
fetch(url, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user