From de8089a2e706b0d83b8bff90d11559500f1a6711 Mon Sep 17 00:00:00 2001
From: Arun Persaud <arun@nubati.net>
Date: Sat, 9 Jun 2012 07:43:23 -0700
Subject: LAYOUT: fixed layout bugs due to newer version of jquery

---
 css/standard.css        | 1 +
 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
 
-- 
cgit v1.2.3-18-g5258