Skip to content

Commit 7c7667c

Browse files
committed
Fixing some semicolons
1 parent 02d9f1e commit 7c7667c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/timeline/js/functions.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -228,16 +228,16 @@ function setBoundingBox(scope, item) {
228228
bounding_box.width = item.width();
229229
} else {
230230
//compare and change if item is a better fit for bounding box edges
231-
if (item_top < bounding_box.top) { bounding_box.top = item_top };
232-
if (item_left < bounding_box.left) { bounding_box.left = item_left };
233-
if (item_bottom > bounding_box.bottom) { bounding_box.bottom = item_bottom };
234-
if (item_right > bounding_box.right) { bounding_box.right = item_right };
231+
if (item_top < bounding_box.top) { bounding_box.top = item_top; }
232+
if (item_left < bounding_box.left) { bounding_box.left = item_left; }
233+
if (item_bottom > bounding_box.bottom) { bounding_box.bottom = item_bottom; }
234+
if (item_right > bounding_box.right) { bounding_box.right = item_right; }
235235

236236
// compare height and width of bounding box (take the largest number)
237237
var height = bounding_box.bottom - bounding_box.top;
238238
var width = bounding_box.right - bounding_box.left;
239-
if (height > bounding_box.height) { bounding_box.height = height };
240-
if (width > bounding_box.width) { bounding_box.width = width };
239+
if (height > bounding_box.height) { bounding_box.height = height; }
240+
if (width > bounding_box.width) { bounding_box.width = width; }
241241
}
242242

243243
// Get list of current selected ids (so we can ignore their snapping x coordinates)

0 commit comments

Comments
 (0)