summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--css/standard.css1
-rw-r--r--include/preferences.php9
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