Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix for IE11 problem
ELEMENT.uniqueID でのエレメントID取得を IE 以外のブラウザで対応させるための部分で、IE 11 の判定ができてなくて、JavaScript のスタックエラーになり、他の JavaScript が正常に動作しないことがある問題の修正。
  • Loading branch information
nao-pon committed Apr 14, 2014
1 parent 5b41909 commit 56934e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xoops_trust_path/modules/xpwiki/skin/js/main.js
@@ -1,7 +1,6 @@
// for .uniqueID

(function() {
if (!Prototype.Browser.IE && !!window.HTMLElement) {
if (!document.uniqueID && !!window.HTMLElement) {
var nextUniqueID = 1;
window.HTMLElement.prototype.__defineGetter__('uniqueID', function() {
var uniqueID = 'id' + nextUniqueID++;
Expand Down

0 comments on commit 56934e3

Please sign in to comment.