liquid_feedback_frontend

view static/js/jsprotect.js @ 1569:32b9e4070777

Do not show login link when logged in for units without privileges
author bsw
date Wed Nov 11 11:11:59 2020 +0100 (2020-11-11)
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