Преглед изворни кода

switched out the border-radius powered query_color_dot's with font-awesome icons to maintain IE compatibility

Spencer Alger пре 12 година
родитељ
комит
6324f9042e
1 измењених фајлова са 3 додато и 6 уклоњено
  1. 3 6
      js/shared.js

+ 3 - 6
js/shared.js

@@ -301,13 +301,10 @@
   };
   };
 
 
   kbn.query_color_dot = function (color, diameter) {
   kbn.query_color_dot = function (color, diameter) {
-    return '<div style="' + [
-        'vertical-align:middle',
-        'border-radius:10px',
+    return '<div class="icon-circle" style="' + [
         'display:inline-block',
         'display:inline-block',
-        'background:' + color,
-        'height:' + diameter + 'px',
-        'width:' + diameter + 'px',
+        'color:' + color,
+        'font-size:' + diameter + 'px',
       ].join(';') + '"></div>';
       ].join(';') + '"></div>';
   };
   };
 }).call(this);
 }).call(this);