diff options
-rw-r--r-- | css/standard.css | 1 | ||||
-rw-r--r-- | include/preferences.php | 9 |
2 files changed, 2 insertions, 8 deletions
diff --git a/css/standard.css b/css/standard.css index 667a95e..3aadbbc 100644 --- a/css/standard.css +++ b/css/standard.css @@ -611,6 +611,7 @@ table.stats thead tr .header { background-image: url(bg.png); background-repeat: no-repeat; background-position: center right; + padding-right: 15px; cursor: pointer; } table.stats tbody td { diff --git a/include/preferences.php b/include/preferences.php index 20b8eb5..57c025f 100644 --- a/include/preferences.php +++ b/include/preferences.php @@ -546,14 +546,7 @@ echo "</div>\n"; // add jquery date picker if html5 is not available ?> <script> - var i = document.createElement("input"); - i.setAttribute("type", "date"); - if (i.type == "text") { - $(":date").dateinput({ - - format: 'yyyy-mm-dd', - }); - } + $(".date").dateinput({ format: 'yyyy-mm-dd' }); </script> <?php |