1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00

Unused parameter

This commit is contained in:
Thomas Tanghus 2014-04-01 03:57:26 +02:00
parent ddd260adf8
commit 5c28679b2c

View File

@ -62,11 +62,9 @@ OC.Contacts = OC.Contacts || {};
* *
* @return bool * @return bool
*/ */
Storage.prototype.hasLocalStorage = function(jqXHR) { Storage.prototype.hasLocalStorage = function() {
if (Modernizr) { if (Modernizr && !Modernizr.localStorage) {
if (!Modernizr.localStorage) { return false;
return false;
}
} }
// Some browsers report support but doesn't have it // Some browsers report support but doesn't have it
// e.g. Safari in private browsing mode. // e.g. Safari in private browsing mode.