Skip to content

Commit aadb2d9

Browse files
committed
window browser width bug solved
1 parent efcba73 commit aadb2d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

public/js/viewDashboard.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,7 @@ class VueDashboard {
484484
this.removeCronModal.open();
485485
}
486486
onElClick(el) {
487-
console.log(window.screen.width);
488-
if (window.screen.width < 1000) {
487+
if (window.innerWidth < 1000) {
489488
this.idToRemove = el.getAttribute("id");
490489
this.optionsModal.open();
491490
}

0 commit comments

Comments
 (0)