Commit 262672f9 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix clip on ie9 - #134

parent fdcb1ab8
...@@ -350,7 +350,8 @@ ...@@ -350,7 +350,8 @@
/*-- Define Functions --*/ /*-- Define Functions --*/
function getClipPath(id) { 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) { function asHalfPixel(n) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment