mirror of https://github.com/gorhill/uBlock.git
Firefox: move callback to last call
This commit is contained in:
parent
1bb074211c
commit
d4b2b81ae8
|
@ -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 New Issue