1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 09:30:28 +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
*/
LinkWidget.prototype.render = function(parent,nextSibling) {
var self = this;
// Save the parent dom node
this.parentDomNode = parent;
// Compute our attributes
@ -53,6 +52,7 @@ LinkWidget.prototype.render = function(parent,nextSibling) {
Render this widget into the DOM
*/
LinkWidget.prototype.renderLink = function(parent,nextSibling) {
var self = this;
// Create our element
var domNode = this.document.createElement("a");
// Assign classes