liquid_feedback_frontend

view static/js/jsprotect.js @ 1538:25ea15b4bd5e

Reworked cookie session control, exceptions for API
author bsw
date Tue Oct 20 17:48:49 2020 +0200 (2020-10-20)
parents b865f87ea810
children
line source
1 function jsProtect(f) {
2 if (!jsFail) try {
3 return f();
4 } catch (e) {
5 jsFail = true;
6 }
7 }

Impressum / About Us