From: mmn Date: Fri, 10 Jul 2015 14:03:30 +0000 (+0000) Subject: Merge branch 'jquery-cookie-undefined' into 'nightly' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c037f04d174f8359c77af03d323bca03032ef7fd;p=quix0rs-gnu-social.git Merge branch 'jquery-cookie-undefined' into 'nightly' Updates jquery.cookie usage to match changes from v1.4.0 `$.cookie('name')` returns `undefined` instead of `null` when cookie is not present. This fixes a problem where the browser was never asking for location, and the JSON.parse call was throwing an exception when the geolocation cookie wasn't present. Deleting a cookie should use `$.removeCookie('name')` instead of `$.cookie('name', null)`. [Reference](https://github.com/carhartl/jquery-cookie/blob/7f88a4e631aba8a8c688fd8999ce6b9bcfd50718/CHANGELOG.md#140). See merge request !20 --- c037f04d174f8359c77af03d323bca03032ef7fd