projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LAYOUT: fixed layout bugs due to newer version of jquery
[e-DoKo.git]
/
include
/
preferences.php
diff --git
a/include/preferences.php
b/include/preferences.php
index 20b8eb5d5f04a041bdce98fe6e8f9b85ad46bf2a..57c025fe78fd6635adc85dcbf56d9da2ac365897 100644
(file)
--- 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>
// 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
</script>
<?php