Forgot that reddit wraps it's data with *another* data
sigh.
This commit is contained in:
parent
511cdd8da0
commit
303c01ba5f
1 changed files with 1 additions and 2 deletions
|
|
@ -40,8 +40,7 @@ pdApp = {
|
||||||
url: 'https://www.reddit.com/r/PowerDeleteSuite/about/stylesheet/.json',
|
url: 'https://www.reddit.com/r/PowerDeleteSuite/about/stylesheet/.json',
|
||||||
context: $('#pd__style')
|
context: $('#pd__style')
|
||||||
}).then(function(data) {
|
}).then(function(data) {
|
||||||
debugger;
|
$(this)[0].innerHTML = data.data.stylesheet;
|
||||||
$(this)[0].innerHTML = data.stylesheet;
|
|
||||||
}, function() {
|
}, function() {
|
||||||
alert('Error retreiving CSS from /r/PowerDeleteSuite');
|
alert('Error retreiving CSS from /r/PowerDeleteSuite');
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue