mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 01:44:12 +01:00
Fix stray template_ reference.
This commit is contained in:
@@ -220,7 +220,7 @@ var Addon = Class("Addon", {
|
|||||||
DOM(node).append(isArray(xml) || isXML(xml) ? xml : DOM.DOMString(xml));
|
DOM(node).append(isArray(xml) || isXML(xml) ? xml : DOM.DOMString(xml));
|
||||||
}
|
}
|
||||||
|
|
||||||
update("name", template_.icon({ icon: this.iconURL }, this.name));
|
update("name", template.icon({ icon: this.iconURL }, this.name));
|
||||||
this.nodes.version.textContent = this.version;
|
this.nodes.version.textContent = this.version;
|
||||||
update("status", this.statusInfo);
|
update("status", this.statusInfo);
|
||||||
this.nodes.description.textContent = this.description;
|
this.nodes.description.textContent = this.description;
|
||||||
|
|||||||
@@ -782,7 +782,7 @@ var DOM = Class("DOM", {
|
|||||||
html: function html(txt, self) {
|
html: function html(txt, self) {
|
||||||
return this.getSet(arguments,
|
return this.getSet(arguments,
|
||||||
function (elem) elem.innerHTML,
|
function (elem) elem.innerHTML,
|
||||||
function (elem, val) { elem.innerHTML = val });
|
util.wrapCallback(function (elem, val) { elem.innerHTML = val }));
|
||||||
},
|
},
|
||||||
|
|
||||||
text: function text(txt, self) {
|
text: function text(txt, self) {
|
||||||
|
|||||||
Reference in New Issue
Block a user