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() {
else {
element.val(config.preferences[key])
}
}
// on input change, set prefence
......@@ -43,6 +42,10 @@ function Preferences() {
if ($(this).attr('type') == 'checkbox')
value = $(this).is(':checked')
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