mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-26 19:20:22 +02:00
Use fetch instead of jQuery ajax (#630)
This commit is contained in:
@@ -130,7 +130,7 @@
|
||||
var header = $('<span title="Filename" />').addClass(csscls('filename')).text(stmt.xdebug_link.filename + ( stmt.xdebug_link.line ? "#" + stmt.xdebug_link.line : ''));
|
||||
if (stmt.xdebug_link.ajax) {
|
||||
$('<a title="' + stmt.xdebug_link.url + '"></a>').on('click', function () {
|
||||
$.ajax(stmt.xdebug_link.url);
|
||||
fetch(stmt.xdebug_link.url);
|
||||
}).addClass(csscls('editor-link')).appendTo(header);
|
||||
} else {
|
||||
$('<a href="' + stmt.xdebug_link.url + '"></a>').addClass(csscls('editor-link')).appendTo(header);
|
||||
|
Reference in New Issue
Block a user