Commit b93e2310 authored by Leo Iannacone's avatar Leo Iannacone

give to user an immadiate feedback on setting header

parent 59aabfde
...@@ -33,7 +33,6 @@ function Preferences() { ...@@ -33,7 +33,6 @@ function Preferences() {
else { else {
element.val(config.preferences[key]) element.val(config.preferences[key])
} }
} }
// on input change, set prefence // on input change, set prefence
...@@ -43,6 +42,10 @@ function Preferences() { ...@@ -43,6 +42,10 @@ function Preferences() {
if ($(this).attr('type') == 'checkbox') if ($(this).attr('type') == 'checkbox')
value = $(this).is(':checked') value = $(this).is(':checked')
set(key,value) set(key,value)
// give to user an immediate feedback on show header
if (key == "header") {
page_generic.header()
}
}) })
}) })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment