Browse Source

Firefox: move callback to last call

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
0769160b34
  1. 4
      platform/firefox/vapi-background.js

4
platform/firefox/vapi-background.js

@ -217,8 +217,8 @@ vAPI.storage = {
); );
}, },
clear: function(callback) { clear: function(callback) {
SQLite.run('DELETE FROM settings', null, callback);
SQLite.run('VACUUM');
SQLite.run('DELETE FROM settings');
SQLite.run('VACUUM', null, callback);
}, },
getBytesInUse: function(keys, callback) { getBytesInUse: function(keys, callback) {
if (typeof callback !== 'function') { if (typeof callback !== 'function') {

Loading…
Cancel
Save