[WebProfilerBundle][TwigBundle] Fix infinite js loop on exception pages
This commit is contained in:
parent
0bd1f09152
commit
295fda9a31
@ -512,6 +512,7 @@
|
||||
var altContent = toggle.getAttribute('data-toggle-alt-content');
|
||||
toggle.innerHTML = currentContent !== altContent ? altContent : originalContent;
|
||||
});
|
||||
}
|
||||
|
||||
/* Prevents from disallowing clicks on links inside toggles */
|
||||
var toggleLinks = document.querySelectorAll('.sf-toggle a');
|
||||
@ -521,7 +522,6 @@
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
|
Reference in New Issue
Block a user