Skip to content

Commit c7c974d

Browse files
committed
Resolves #40 duplicate call to toggle in PaperItem
1 parent 32b2826 commit c7c974d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/com/flowingcode/addons/applayout/PaperItem.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ public PaperItem(String title, Command command, AppDrawer appDrawer) {
6060
this.getElement().addEventListener("click", e->{
6161
command.execute();
6262
Optional.ofNullable(appDrawer).ifPresent(AppDrawer::toggle);
63-
if (appDrawer!=null)
64-
appDrawer.getElement().executeJs("this.toggle()");
6563
});
6664
}
6765
}

0 commit comments

Comments
 (0)