From: Chris Porter Date: Mon, 20 Oct 2008 19:29:35 +0000 (+0100) Subject: IE fixes. X-Git-Url: https://jfr.im/git/irc/quakenet/qwebirc.git/commitdiff_plain/d2512acfda686f2c4cd7f2c569273f87e35ee4d7 IE fixes. --- diff --git a/js/ui/qui.js b/js/ui/qui.js index 3d70d45..c484477 100644 --- a/js/ui/qui.js +++ b/js/ui/qui.js @@ -259,12 +259,12 @@ qwebirc.ui.QUI.Window = new Class({ this.scrollToBottom(); }, createMenu: function(nick, parent) { - var e = document.createElement("div"); + var e = new Element("div"); parent.appendChild(e); e.addClass("menu"); qwebirc.ui.MENU_ITEMS.forEach(function(x) { - var e2 = document.createElement("a"); + var e2 = new Element("a"); e.appendChild(e2); e2.href = "#";