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');
11
11
// Settings for building packages
12
12
const settings = {
13
13
name : 'codesy' ,
14
- version : '0.0.0.8 ' ,
14
+ version : '0.0.0.9 ' ,
15
15
source : './src' ,
16
16
destination : './dist' ,
17
17
static_files : {
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ function setCodesyAppender (domain) {
39
39
} ;
40
40
41
41
chrome . storage . local . get ( null ,
42
- ( { domain = "https://codesy.io" } ) => {
42
+ ( { domain = "https://www. codesy.io" } ) => {
43
43
if ( domain ) setCodesyAppender ( domain ) ;
44
44
}
45
45
) ;
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ codesy = {};
10
10
codesy . storeDomain = function ( domain ) {
11
11
return chrome . storage . local . get ( null ,
12
12
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
+ }
15
17
}
16
18
) ;
17
19
} ;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ function wait_for_page_change ( {url, id} ) {
54
54
55
55
function get_codesy_domain ( ) {
56
56
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 )
58
58
chrome . storage . local . get ( null , resolve_domain )
59
59
} ) ;
60
60
}
You can’t perform that action at this time.
0 commit comments