Fixed safari exception

This commit is contained in:
Igor Zhukov 2014-10-15 22:26:01 +04:00
parent 37964566fd
commit 6d39a4ae61

View File

@ -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);