Skip to content

Commit

Permalink
Fixed updates bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo committed Apr 11, 2017
1 parent e9e43fd commit b074a61
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
8 changes: 6 additions & 2 deletions Chrome based ( Yandex, etc... )/Extension/libs/jquery.gam.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,13 @@
try{

var current = JSON.parse( localStorage[ sign ] );
$.extend( true, current, cfg );

localStorage[ sign ] = JSON.stringify( current );
// ( it ) --> Aggiorno anche i nuovi aggiornamenti

$.extend( true, config, current );
$.extend( true, config, cfg );

localStorage[ sign ] = JSON.stringify( config );
//console.log( "Saved from localstorage : " + localStorage[ sign ] );

}catch( e ){
Expand Down
2 changes: 1 addition & 1 deletion Chrome based ( Yandex, etc... )/Extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"manifest_version" : 2,
"author" : "Leonardo Ciaccio",
"version" : "6.1.1.9",
"version" : "6.1.2.0",
"name" : "Grab Any Media",
"default_locale" : "en",
"description" : "__MSG_des__",
Expand Down
8 changes: 6 additions & 2 deletions Firefox/Extension/libs/jquery.gam.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,13 @@
try{

var current = JSON.parse( localStorage[ sign ] );
$.extend( true, current, cfg );

localStorage[ sign ] = JSON.stringify( current );
// ( it ) --> Aggiorno anche i nuovi aggiornamenti

$.extend( true, config, current );
$.extend( true, config, cfg );

localStorage[ sign ] = JSON.stringify( config );
//console.log( "Saved from localstorage : " + localStorage[ sign ] );

}catch( e ){
Expand Down
2 changes: 1 addition & 1 deletion Firefox/Extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"manifest_version" : 2,
"author" : "Leonardo Ciaccio",
"version" : "6.1.1.9",
"version" : "6.1.2.0",
"name" : "Grab Any Media",
"default_locale" : "en",
"description" : "__MSG_des__",
Expand Down
8 changes: 6 additions & 2 deletions Opera/Extension/libs/jquery.gam.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,13 @@
try{

var current = JSON.parse( localStorage[ sign ] );
$.extend( true, current, cfg );

localStorage[ sign ] = JSON.stringify( current );
// ( it ) --> Aggiorno anche i nuovi aggiornamenti

$.extend( true, config, current );
$.extend( true, config, cfg );

localStorage[ sign ] = JSON.stringify( config );
//console.log( "Saved from localstorage : " + localStorage[ sign ] );

}catch( e ){
Expand Down
2 changes: 1 addition & 1 deletion Opera/Extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"manifest_version" : 2,
"author" : "Leonardo Ciaccio",
"version" : "6.1.1.9",
"version" : "6.1.2.0",
"name" : "Grab Any Media",
"default_locale" : "en",
"description" : "__MSG_des__",
Expand Down

0 comments on commit b074a61

Please sign in to comment.