Skip to content

Commit

Permalink
* show message for ie browser user in document.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Sep 6, 2016
1 parent 4c72ade commit 904e9f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
return;
}

if($.zui.browser.ie && $.zui.browser.ie < 11) {
$.zui.messager.danger('你正在使用 IE 较低版本访问,无法获得 ZUI 文档网站的完整体验,建议你更换浏览器再访问。', {time: 20000});
}

// Polyfill
if(!String.prototype.endsWith) {
String.prototype.endsWith = function(searchString, position) {
Expand Down

0 comments on commit 904e9f7

Please sign in to comment.