mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Firefox: move callback to last call
This commit is contained in:
parent
1bb074211c
commit
d4b2b81ae8
1 changed files with 2 additions and 2 deletions
|
@ -217,8 +217,8 @@ vAPI.storage = {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
clear: function(callback) {
|
clear: function(callback) {
|
||||||
SQLite.run('DELETE FROM settings', null, callback);
|
SQLite.run('DELETE FROM settings');
|
||||||
SQLite.run('VACUUM');
|
SQLite.run('VACUUM', null, callback);
|
||||||
},
|
},
|
||||||
getBytesInUse: function(keys, callback) {
|
getBytesInUse: function(keys, callback) {
|
||||||
if (typeof callback !== 'function') {
|
if (typeof callback !== 'function') {
|
||||||
|
|
Loading…
Reference in a new issue