mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-14 03:10:26 +00:00
Update draggable.js - fix the call to updateDomNodeClasses (#8045)
* Update draggable.js - rename updateDomNodeClasses to assignDomNodeClasses If I'm not wrong then the "updateDomNodeClasses" is unused and the "assignDomNodeClasses" is missing This renames "updateDomNodeClasses" to "assignDomNodeClasses" * Use "updateDomNodeClasses"
This commit is contained in:
parent
28791287b2
commit
bf9eafbad9
@ -119,7 +119,7 @@ DraggableWidget.prototype.refresh = function(changedTiddlers) {
|
||||
return true;
|
||||
} else {
|
||||
if(changedAttributes["class"]) {
|
||||
this.assignDomNodeClasses();
|
||||
this.updateDomNodeClasses();
|
||||
}
|
||||
this.assignAttributes(this.domNodes[0],{
|
||||
changedAttributes: changedAttributes,
|
||||
@ -132,4 +132,4 @@ DraggableWidget.prototype.refresh = function(changedTiddlers) {
|
||||
|
||||
exports.draggable = DraggableWidget;
|
||||
|
||||
})();
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user