Index: static/js/index.js |
=================================================================== |
--- a/static/js/index.js |
+++ b/static/js/index.js |
@@ -38,8 +38,8 @@ |
return; |
var content = document.getElementById("content"); |
- var match = window.navigator.userAgent.match(/Edge\/(\d+.\d+)/); |
- if (match && parseFloat(match[1]) >= 14.14342 && |
+ var match = window.navigator.userAgent.match(/Edge\/\d+.(\d+)/); |
Sebastian Noack
2016/05/18 13:15:31
Apparently this issue isn't new with this change,
saroyanm
2016/05/18 13:18:49
Done.
|
+ if (match && parseFloat(match[1]) >= 14342 && |
Sebastian Noack
2016/05/18 13:15:31
It seems parseInt() is more appropriate now. Or si
saroyanm
2016/05/18 13:18:49
Done.
|
content.classList.contains("edge")) |
content.classList.add("edge-supported"); |
} |