Always use === to compare with 0

This commit is contained in:
Tom Payne
2014-03-23 18:29:47 +01:00
parent 7f5446afff
commit 35dea5e3a6
3 changed files with 3 additions and 3 deletions

View File

@@ -323,7 +323,7 @@ ol.MapBrowserEventHandler.prototype.isMouseActionButton_ =
if (ol.LEGACY_IE_SUPPORT && ol.IS_LEGACY_IE) {
return pointerEvent.button == 1;
} else {
return pointerEvent.button == 0;
return pointerEvent.button === 0;
}
};