ironexdev / zoom

Lightweight (8 Kb) ES5 javascript plugin without any dependencies, compatible with desktop and mobile devices.
https://zoom.by-ironex.com
Apache License 2.0
33 stars 13 forks source link

SCROLL_DISABLE always set to true? #6

Open andreagobetti opened 2 years ago

andreagobetti commented 2 years ago

I think that by doing this the value of SCROLL_DISABLE is always true regardless of the given setting value:

var SCROLL_DISABLE = settings["scrollDisable"] || true;

Since anything in OR with true is true, am I right?

deJong-IT commented 2 years ago

true