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
*/
Storage.prototype.hasLocalStorage = function(jqXHR) {
if (Modernizr) {
if (!Modernizr.localStorage) {
return false;
}
Storage.prototype.hasLocalStorage = function() {
if (Modernizr && !Modernizr.localStorage) {
return false;
}
// Some browsers report support but doesn't have it
// e.g. Safari in private browsing mode.