commit | db412d99c3bb5ed3c3618446f5778fbb80fa92b7 | [log] [tgz] |
---|---|---|
author | avm99963 <me@avm99963.com> | Thu Dec 31 19:27:59 2020 +0100 |
committer | avm99963 <me@avm99963.com> | Thu Dec 31 19:31:38 2020 +0100 |
tree | f3236789634a581dfc33241dfceba09510fc24c8 | |
parent | b38b74161288fb5f4df56ddbb1165b39e2752045 [diff] |
Fix: sortdirection option doesn't work w/o enabling loaddrafts This was originally reported at pekb/thread/67965396?msgid=91365432. Change-Id: I0eaef00db013be0345fbfb8f06811d369370ee7f
diff --git a/src/content_scripts/console_inject_start.js b/src/content_scripts/console_inject_start.js index f0bda9b..7d5e87b 100644 --- a/src/content_scripts/console_inject_start.js +++ b/src/content_scripts/console_inject_start.js
@@ -1,5 +1,5 @@ chrome.storage.sync.get(null, function(items) { - if (items.loaddrafts) { + if (items.loaddrafts || items.smei_sortdirection) { var startup = JSON.parse(document.querySelector('html').getAttribute('data-startup'));