1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 06:44:50 +00:00
This commit is contained in:
Jeremy Ruston 2013-10-21 20:20:32 +01:00
parent 2a571b4f5f
commit a99f912bad

View File

@ -27,7 +27,6 @@ LinkWidget.prototype = new Widget();
Render this widget into the DOM Render this widget into the DOM
*/ */
LinkWidget.prototype.render = function(parent,nextSibling) { LinkWidget.prototype.render = function(parent,nextSibling) {
var self = this;
// Save the parent dom node // Save the parent dom node
this.parentDomNode = parent; this.parentDomNode = parent;
// Compute our attributes // Compute our attributes
@ -53,6 +52,7 @@ LinkWidget.prototype.render = function(parent,nextSibling) {
Render this widget into the DOM Render this widget into the DOM
*/ */
LinkWidget.prototype.renderLink = function(parent,nextSibling) { LinkWidget.prototype.renderLink = function(parent,nextSibling) {
var self = this;
// Create our element // Create our element
var domNode = this.document.createElement("a"); var domNode = this.document.createElement("a");
// Assign classes // Assign classes