Browse Source

Fixed safari exception

master
Igor Zhukov 10 years ago
parent
commit
6d39a4ae61
  1. 3
      app/js/lib/ng_utils.js

3
app/js/lib/ng_utils.js

@ -239,6 +239,9 @@ angular.module('izhukov.utils', []) @@ -239,6 +239,9 @@ angular.module('izhukov.utils', [])
createObjectStore = function (db) {
db.createObjectStore(dbStoreName);
};
if (!request) {
throw new Exception();
}
} catch (error) {
storageIsAvailable = false;
return $q.reject(error);

Loading…
Cancel
Save