Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
owaisali8 authored Dec 22, 2022
2 parents da16165 + f31be12 commit dc45e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/edit/toolbars/DistortableImage.PopupBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ L.DistortableImage.PopupBar = L.Toolbar2.Popup.extend({
},

clickTool(name) {
let tools = this.tools();
const tools = this.tools();
for (let i = 0; i < tools.length; i++) {
let tool = tools.item(i).children[0];
const tool = tools.item(i).children[0];
if (L.DomUtil.hasClass(tool, name)) {
tool.click();
return tool;
Expand Down

0 comments on commit dc45e8c

Please sign in to comment.