Browse Source

Fix clip on ie9 - #134

pull/232/merge
Masayuki Tanaka 11 years ago
parent
commit
262672f992
  1. 3
      c3.js
  2. 6
      c3.min.js

3
c3.js

@ -350,7 +350,8 @@
/*-- Define Functions --*/
function getClipPath(id) {
return "url(" + document.URL.split('#')[0] + "#" + id + ")";
var isIE9 = window.navigator.appVersion.toLowerCase().indexOf("msie 9.") >= 0;
return "url(" + (isIE9 ? "" : document.URL.split('#')[0]) + "#" + id + ")";
}
function asHalfPixel(n) {

6
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save