summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2012-06-09 07:43:23 -0700
committerArun Persaud <arun@nubati.net>2012-06-09 07:43:23 -0700
commitde8089a2e706b0d83b8bff90d11559500f1a6711 (patch)
tree729653e2c31d7a9e8405c0556e7cd2e25c7fa613 /include
parent9b59be4cf20ec47e63557df6bbe9cf171b465222 (diff)
downloade-DoKo-de8089a2e706b0d83b8bff90d11559500f1a6711.tar.gz
e-DoKo-de8089a2e706b0d83b8bff90d11559500f1a6711.tar.bz2
e-DoKo-de8089a2e706b0d83b8bff90d11559500f1a6711.zip
LAYOUT: fixed layout bugs due to newer version of jquery
Diffstat (limited to 'include')
-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