Didn't need the context

This commit is contained in:
j0be 2016-09-26 16:12:41 -04:00 committed by GitHub
parent 56c915fb09
commit d9e84d6226

View file

@ -1 +1 @@
javascript:(function () {$.ajax({url: 'https://raw.githubusercontent.com/j0be/PowerDeleteSuite/master/powerdeletesuite.js', context: $('#pd__style') }).then(function(data) {var str = '<script id="pd-script">'+data+'</script>'; if ($('#pd-script').length === 0) {$('head').append(str); } else {$('#pd-script').replaceWith(str); } }, function() {alert('Error retreiving PowerDeleteSuite from github'); }); })();
javascript:(function () {$.ajax({url: 'https://raw.githubusercontent.com/j0be/PowerDeleteSuite/master/powerdeletesuite.js' }).then(function(data) {var str = '<script id="pd-script">'+data+'</script>'; if ($('#pd-script').length === 0) {$('head').append(str); } else {$('#pd-script').replaceWith(str); } }, function() {alert('Error retreiving PowerDeleteSuite from github'); }); })();