Skip to content

Commit

Permalink
Merge pull request #123 from PidgeyL/master
Browse files Browse the repository at this point in the history
bugfix
  • Loading branch information
adulau committed May 23, 2016
2 parents a2b5d09 + 3bbea6d commit 6e8c6c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/templates/index.html
Expand Up @@ -9,7 +9,7 @@
<script type="text/javascript">
$(document).ready(function(){ setSettings(); })
function setSettings(){
{% if settings is defined%}
{% if settings is defined %}
{% for key, val in settings.items() %}
if($("#{{key}}").is(":checkbox")){
if("{{val}}" == "on"){$("#{{key}}").prop('checked', true);}
Expand All @@ -22,7 +22,7 @@
{%endif%}
}
function postURL(url) {
var form = $("#filter");
var form = document.getElementById("filter");
form.action = url;
form.submit();
}
Expand Down

0 comments on commit 6e8c6c4

Please sign in to comment.