Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@GromNaN
Forked from anonymous/main.js
Last active December 29, 2015 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GromNaN/7674427 to your computer and use it in GitHub Desktop.
Save GromNaN/7674427 to your computer and use it in GitHub Desktop.
$(document).ajaxComplete(function(event, XMLHttpRequest){
var link = XMLHttpRequest.getResponseHeader('x-debug-token-link');
if(link) {
$.get(link, function(data){
$('.sf-toolbarreset').remove();
$('body').append(data);
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment