From 1420ca914b18deb450af827fc5313e8790160687 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 6 Feb 2014 15:04:47 +0000 Subject: [PATCH] cosmetic changes --- source/Ox.UI/js/Video/VideoElement.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Video/VideoElement.js b/source/Ox.UI/js/Video/VideoElement.js index 148fc275..2aa41195 100644 --- a/source/Ox.UI/js/Video/VideoElement.js +++ b/source/Ox.UI/js/Video/VideoElement.js @@ -161,7 +161,7 @@ Ox.VideoElement = function(options, self) { } function loadItems(callback) { - var currentTime = 0, i =0, + var currentTime = 0, i = 0, items = self.options.items.map(function(item) { return Ox.isObject(item) ? Ox.clone(item, true) : {src: item}; }); @@ -323,7 +323,7 @@ Ox.VideoElement = function(options, self) { if (self.items.length) { // Set to end of items if time > duration if (Ox.isUndefined(currentItem) && Ox.isUndefined(currentTime)) { - currentItem = self.items.length -1; + currentItem = self.items.length - 1; currentTime = self.items[currentItem].duration + self.items[currentItem]['in']; } Ox.Log('Video', 'sCT', time, '=>', currentItem, currentTime);