From efe54fbba4b4b1134fef87f7e839fbd0ba46418a Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Wed, 2 Nov 2016 18:09:40 +1100 Subject: Added seek event fixes (fixes #409), Added support for URLs (fixes #345) --- demo/src/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demo/src/js/main.js') diff --git a/demo/src/js/main.js b/demo/src/js/main.js index 3337df88..56f7d634 100644 --- a/demo/src/js/main.js +++ b/demo/src/js/main.js @@ -94,7 +94,7 @@ // Set a new source function newSource(type, init) { // Bail if new type isn't known, it's the current type, or current type is empty (video is default) and new type is video - if(!(type in types) || (!init && type == currentType) || (!currentType.length && type == types.video)) { + if(!(type in types) || (!init && type === currentType) || (!currentType.length && type === types.video)) { return; } -- cgit v1.2.3