Browse code

BM-12241 Feat: safari 11 indexeddb

David Phan authored on 11/01/2018 11:15:03
Showing 1 changed files
... ...
@@ -198,8 +198,8 @@ net.bluemind.persistance.DatabaseService.prototype.capabilities_ = function() {
198 198
   } else if (goog.userAgent.product.OPERA) {
199 199
     capabilities = ['indexeddb', 'localstorage', 'sessionstorage'];
200 200
   } else if (goog.userAgent.product.SAFARI) {
201
-    if (goog.userAgent.product.isVersion('10')) {
202
-      capabilities = ['websql', 'localstorage', 'sessionstorage'];
201
+    if (goog.userAgent.product.isVersion('11')) {
202
+      capabilities = ['indexeddb', 'localstorage', 'sessionstorage'];
203 203
     } else {
204 204
       capabilities = ['websql', 'localstorage', 'sessionstorage'];
205 205
     }