File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const headerComment = require('gulp-header-comment');
1111// Settings for building packages
1212const settings = {
1313 name : 'codesy' ,
14- version : '0.0.0.8 ' ,
14+ version : '0.0.0.9 ' ,
1515 source : './src' ,
1616 destination : './dist' ,
1717 static_files : {
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ function setCodesyAppender (domain) {
3939} ;
4040
4141chrome . storage . local . get ( null ,
42- ( { domain = "https://codesy.io" } ) => {
42+ ( { domain = "https://www. codesy.io" } ) => {
4343 if ( domain ) setCodesyAppender ( domain ) ;
4444 }
4545) ;
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ codesy = {};
1010codesy . storeDomain = function ( domain ) {
1111 return chrome . storage . local . get ( null ,
1212 function ( data ) {
13- data . domain = domain || "" ;
14- return chrome . storage . local . set ( data ) ;
13+ if ( data . domain != domain ) {
14+ data . domain = domain || "" ;
15+ return chrome . storage . local . set ( data ) ;
16+ }
1517 }
1618 ) ;
1719} ;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ function wait_for_page_change ( {url, id} ) {
5454
5555function get_codesy_domain ( ) {
5656 return new Promise ( ( resolve ) => {
57- const resolve_domain = ( { domain = "https://codesy.io" } ) => resolve ( domain )
57+ const resolve_domain = ( { domain = "https://www. codesy.io" } ) => resolve ( domain )
5858 chrome . storage . local . get ( null , resolve_domain )
5959 } ) ;
6060}
You can’t perform that action at this time.
0 commit comments