mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Fix typo
This commit is contained in:
parent
eff6b08b6c
commit
131874e154
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user