1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-26 15:23:15 +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:
Simon Huber 2024-03-09 11:00:27 +01:00 committed by GitHub
parent 28791287b2
commit bf9eafbad9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,7 +119,7 @@ DraggableWidget.prototype.refresh = function(changedTiddlers) {
return true; return true;
} else { } else {
if(changedAttributes["class"]) { if(changedAttributes["class"]) {
this.assignDomNodeClasses(); this.updateDomNodeClasses();
} }
this.assignAttributes(this.domNodes[0],{ this.assignAttributes(this.domNodes[0],{
changedAttributes: changedAttributes, changedAttributes: changedAttributes,