1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-03 11:46:22 -07:00

Fix a catch in getCookie, it was breaking our JS for IE and Edge

This commit is contained in:
Darren VanBuren 2018-12-04 15:31:56 -08:00
parent b1609f0d3d
commit 4ec04d799b

View file

@ -331,7 +331,7 @@ function getCookie(name, defaultVal) {
if(pair[0] == name) {
try {
val = decodeURIComponent(pair[1].replace("+", " ").replace("%2B", "+"))
} catch {
} catch(err) {
return defaultVal;
}
break;