liquid_feedback_frontend
changeset 1287:6154987e3545
Fixed operator precedence
author | bsw |
---|---|
date | Mon Apr 18 09:58:51 2016 +0200 (2016-04-18) |
parents | a501cdd10fbb |
children | d6c598d81a2b |
files | app/main/member/settings_notification.lua |
line diff
1.1 --- a/app/main/member/settings_notification.lua Mon Apr 18 09:57:49 2016 +0200 1.2 +++ b/app/main/member/settings_notification.lua Mon Apr 18 09:58:51 2016 +0200 1.3 @@ -59,7 +59,7 @@ 1.4 attr = { 1.5 id = "digest_on", 1.6 type = "radio", name = "digest", value = "true", 1.7 - checked = app.session.member.disable_notifications or app.session.member.notification_hour ~= nil and "checked" or nil, 1.8 + checked = (app.session.member.disable_notifications or app.session.member.notification_hour ~= nil) and "checked" or nil, 1.9 onchange = [[ $(".view_on_digest_true")[this.checked ? "show" : "hide"](400) ]] 1.10 } 1.11 }