Skip to content

Commit ed40467

Browse files
fix vehicle list sizing for chrome rossengeorgiev#71
1 parent ca8bcc1 commit ed40467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ function checkSize() {
283283
wrect = document.body.getBoundingClientRect();
284284
// chrome seems to calculate the body bounding box differently from every other browser
285285
if (!!window.chrome) {
286-
w_fix = (wrect.width === Math.floor(wrect.width)) ? 1 : 0;
286+
w_fix = (w >= wrect.width) ? 1 : 0;
287287
} else {
288288
w_fix = (w === Math.floor(wrect.width)) ? 0 : 1;
289289
}

0 commit comments

Comments
 (0)