Skip to content

Commit

Permalink
fixed: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
disha1202 committed Jan 2, 2023
1 parent 3ec1961 commit dfda885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulator/src/listeners.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ function zoomSliderListeners() {
.addEventListener('mousewheel', zoomSliderScroll)
let curLevel = document.getElementById('customRange1').value
'input change'.split(" ").map((ev) => document.addEventListener(ev, function (e) {
if(e.target.id = 'customRange1' ){
if(e.target.id == 'customRange1'){
let newValue = e.target.value
let changeInScale = newValue - curLevel
updateCanvasSet(true)
Expand Down

0 comments on commit dfda885

Please sign in to comment.