LAYOUT: fixed layout bugs due to newer version of jquery
authorArun Persaud <arun@nubati.net>
Sat, 9 Jun 2012 14:43:23 +0000 (07:43 -0700)
committerArun Persaud <arun@nubati.net>
Sat, 9 Jun 2012 14:43:23 +0000 (07:43 -0700)
css/standard.css
include/preferences.php

index 667a95e19a582d989bde854513f9abc7f45e804e..3aadbbc4ad96c8cebf3418395bd181eb0af4e489 100644 (file)
@@ -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 {
index 20b8eb5d5f04a041bdce98fe6e8f9b85ad46bf2a..57c025fe78fd6635adc85dcbf56d9da2ac365897 100644 (file)
@@ -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