summaryrefslogtreecommitdiffstats
path: root/include/preferences.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/preferences.php')
-rw-r--r--include/preferences.php9
1 files changed, 1 insertions, 8 deletions
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