mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-25 14:14:09 +00:00
Fix typo
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user