Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion root/static/js/cpan.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ MetaCPAN.favs_to_check = {};
// provide localStorage shim to work around https://bugzilla.mozilla.org/show_bug.cgi?id=748620
try {
MetaCPAN.storage = window.localStorage;
} catch (e) {
} catch (e) {}
if (!MetaCPAN.storage) {
MetaCPAN.storage = {
getItem: function(k) {
return this["_" + k];
Expand Down