File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "manifest_version" : 2 ,
33 "name" : " Dark Mode" ,
4- "version" : " 2.1.1 " ,
4+ "version" : " 2.1.3 " ,
55 "description" : " Dark Mode, read at night. Bluelight filter for every website. Relax your eyes at night and day." ,
66 "default_locale" : " en" ,
77 "icons" : {
Original file line number Diff line number Diff line change @@ -161,8 +161,6 @@ var current_domain,
161161 beforerender : function ( target ) {
162162 var item = ( current_domain || '...' ) ;
163163
164- console . log ( current_domain ) ;
165-
166164 target . items = [ 'global' , item ] ;
167165
168166 if ( satus . storage . get ( 'websites/' + current_domain + '/filters/global' ) === false ) {
@@ -173,7 +171,7 @@ var current_domain,
173171 if ( current_domain ) {
174172 var container = this . skeleton . parent . section ;
175173
176- satus . storage . set ( 'websites/' + current_domain + '/filters/global' , this . value === 'global' ) ;
174+ satus . storage . set ( 'websites/' + current_domain + '/filters/global' , this . storageValue === 'global' ) ;
177175
178176 updateFilterStorages ( this . storageValue , container ) ;
179177
@@ -343,7 +341,7 @@ var current_domain,
343341 target . items = [ 'global' , item ] ;
344342 } ,
345343 change : function ( ) {
346- var value = this . value ,
344+ var value = this . storageValue ,
347345 textfield = this . skeleton . parent . section . textfield ;
348346
349347 if ( value === 'global' ) {
You can’t perform that action at this time.
0 commit comments