@@ -127,7 +127,7 @@ function showNagMaybe() {
127
127
if ( POPUP_DATA . showLearningPrompt ) {
128
128
_showLearningPrompt ( ) ;
129
129
130
- } else if ( ! POPUP_DATA . seenComic ) {
130
+ } else if ( ! POPUP_DATA . settings . seenComic ) {
131
131
chrome . tabs . query ( { active : true , currentWindow : true } , function ( focusedTab ) {
132
132
// Show the popup instruction if the active tab is not firstRun.html page
133
133
if ( ! focusedTab [ 0 ] . url . startsWith ( intro_page_url ) ) {
@@ -202,7 +202,7 @@ function init() {
202
202
203
203
// show sliders when sliders were shown last
204
204
// or when there is at least one breakage warning
205
- if ( POPUP_DATA . showExpandedTrackingSection || (
205
+ if ( POPUP_DATA . settings . showExpandedTrackingSection || (
206
206
POPUP_DATA . cookieblocked && Object . keys ( POPUP_DATA . cookieblocked ) . some (
207
207
d => POPUP_DATA . origins [ d ] == constants . USER_BLOCK )
208
208
) ) {
@@ -589,7 +589,7 @@ function refreshPopup() {
589
589
// show "no trackers" message
590
590
$ ( "#instructions-no-trackers" ) . show ( ) ;
591
591
592
- if ( POPUP_DATA . learnLocally && POPUP_DATA . showNonTrackingDomains ) {
592
+ if ( POPUP_DATA . settings . learnLocally && POPUP_DATA . settings . showNonTrackingDomains ) {
593
593
// show the "no third party resources on this site" message
594
594
$ ( "#no-third-parties" ) . show ( ) ;
595
595
}
@@ -632,7 +632,7 @@ function refreshPopup() {
632
632
// show breakage warning sliders at the top of the list
633
633
printable = printableWarningSliders . concat ( printable ) ;
634
634
635
- if ( POPUP_DATA . learnLocally && unblockedTrackers . length ) {
635
+ if ( POPUP_DATA . settings . learnLocally && unblockedTrackers . length ) {
636
636
printable . push (
637
637
'<div class="clicker tooltip" id="not-yet-blocked-header" title="' +
638
638
chrome . i18n . getMessage ( "intro_not_an_adblocker_paragraph" ) +
@@ -647,7 +647,7 @@ function refreshPopup() {
647
647
} ) ;
648
648
}
649
649
650
- if ( POPUP_DATA . learnLocally && POPUP_DATA . showNonTrackingDomains && nonTracking . length ) {
650
+ if ( POPUP_DATA . settings . learnLocally && POPUP_DATA . settings . showNonTrackingDomains && nonTracking . length ) {
651
651
printable . push (
652
652
'<div class="clicker tooltip" id="non-trackers-header" title="' +
653
653
chrome . i18n . getMessage ( "non_tracker_tip" ) +
0 commit comments