From d9e84d6226dbe70fa7c1fa7ccc2ed5ae16d00d0d Mon Sep 17 00:00:00 2001 From: j0be Date: Mon, 26 Sep 2016 16:12:41 -0400 Subject: [PATCH] Didn't need the context --- bookmarklet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookmarklet.js b/bookmarklet.js index f58cf0b..4fa147e 100644 --- a/bookmarklet.js +++ b/bookmarklet.js @@ -1 +1 @@ -javascript:(function () {$.ajax({url: 'https://raw.githubusercontent.com/j0be/PowerDeleteSuite/master/powerdeletesuite.js', context: $('#pd__style') }).then(function(data) {var str = ''; 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 = ''; if ($('#pd-script').length === 0) {$('head').append(str); } else {$('#pd-script').replaceWith(str); } }, function() {alert('Error retreiving PowerDeleteSuite from github'); }); })();