]> jfr.im git - irc/quakenet/qwebirc.git/blame - js/ui/panes/help.js
> now not allowed at end of urls
[irc/quakenet/qwebirc.git] / js / ui / panes / help.js
CommitLineData
355dbcb7
CP
1qwebirc.ui.HelpPane = new Class({
2 Implements: [Events],
3 initialize: function(parent) {
4 if(qwebirc.global.helpURL) {
5 var element = new Element("iframe");
6 element.style.width = "100%";
7 element.style.height = "100%";
8 element.src = qwebirc.global.helpURL;
9 parent.appendChild(element);
10 } else {
11 parent.set("html", "<b>Sorry -- this network hasn't defined a help page!</b>");
12 }
13 }
14});