]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
jquery-cookie returns `undefined` as of 1.4.0
authorChimo <chimo@chromic.org>
Sat, 20 Jun 2015 23:26:45 +0000 (19:26 -0400)
committerChimo <chimo@chromic.org>
Sat, 20 Jun 2015 23:38:58 +0000 (19:38 -0400)
commit9e1d4bfbf038c96e6e9e760ffc46f2f3a1cc6c37
tree4291b98f4ea1c8d2c442694d547820b28e47ec06
parent29620619b572e484c11458c53eb1e5f6d29e4569
jquery-cookie returns `undefined` as of 1.4.0

when a cookie isn't set.

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.
js/util.js