1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 13:02:26 +01:00

Fix stray template_ reference.

This commit is contained in:
Kris Maglione
2012-12-18 18:54:31 -08:00
parent ab1d497270
commit 2ec3cb0a46
2 changed files with 2 additions and 2 deletions

View File

@@ -220,7 +220,7 @@ var Addon = Class("Addon", {
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;
update("status", this.statusInfo);
this.nodes.description.textContent = this.description;

View File

@@ -782,7 +782,7 @@ var DOM = Class("DOM", {
html: function html(txt, self) {
return this.getSet(arguments,
function (elem) elem.innerHTML,
function (elem, val) { elem.innerHTML = val });
util.wrapCallback(function (elem, val) { elem.innerHTML = val }));
},
text: function text(txt, self) {