From 131874e1541021d54d0e10b38836bdd3a13d823a Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 5 Jun 2013 15:38:06 +0100 Subject: [PATCH] Fix typo --- core/modules/widgets/link.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/widgets/link.js b/core/modules/widgets/link.js index 1071df515..2b56eac0c 100644 --- a/core/modules/widgets/link.js +++ b/core/modules/widgets/link.js @@ -123,10 +123,10 @@ LinkWidget.prototype.handleDragStartEvent = function(event) { // Set the dragging class on the element being dragged $tw.utils.addClass(event.target,"tw-tiddlylink-dragging"); // Create the drag image element - this.dragImage = this.listWidget.renderer.renderTree.document.createElement("div"); + this.dragImage = this.renderer.renderTree.document.createElement("div"); this.dragImage.className = "tw-tiddler-dragger"; - this.dragImage.appendChild(this.listWidget.renderer.renderTree.document.createTextNode(this.to)); - this.listWidget.renderer.renderTree.document.body.appendChild(this.dragImage); + this.dragImage.appendChild(this.renderer.renderTree.document.createTextNode(this.to)); + this.renderer.renderTree.document.body.appendChild(this.dragImage); // Set the data transfer properties var dataTransfer = event.dataTransfer; dataTransfer.effectAllowed = "copy";