From 303c01ba5f34a129fb8362fedd747da3cb94313c Mon Sep 17 00:00:00 2001 From: j0be Date: Mon, 26 Sep 2016 11:09:15 -0400 Subject: [PATCH] Forgot that reddit wraps it's data with *another* data sigh. --- powerdeletesuite.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/powerdeletesuite.js b/powerdeletesuite.js index a53d68a..8e9aefd 100644 --- a/powerdeletesuite.js +++ b/powerdeletesuite.js @@ -40,8 +40,7 @@ pdApp = { url: 'https://www.reddit.com/r/PowerDeleteSuite/about/stylesheet/.json', context: $('#pd__style') }).then(function(data) { - debugger; - $(this)[0].innerHTML = data.stylesheet; + $(this)[0].innerHTML = data.data.stylesheet; }, function() { alert('Error retreiving CSS from /r/PowerDeleteSuite'); });