diff options
author | Sam Potts <me@sampotts.me> | 2016-11-02 18:09:40 +1100 |
---|---|---|
committer | Sam Potts <me@sampotts.me> | 2016-11-02 18:09:40 +1100 |
commit | efe54fbba4b4b1134fef87f7e839fbd0ba46418a (patch) | |
tree | a16cebfb78f7171dfc0efb3a31a042c7acad61ce /demo/src/js | |
parent | 10561d6c83dec922dda5b8e347bdb555ab6c8556 (diff) | |
download | plyr-efe54fbba4b4b1134fef87f7e839fbd0ba46418a.tar.lz plyr-efe54fbba4b4b1134fef87f7e839fbd0ba46418a.tar.xz plyr-efe54fbba4b4b1134fef87f7e839fbd0ba46418a.zip |
Added seek event fixes (fixes #409), Added support for URLs (fixes #345)
Diffstat (limited to 'demo/src/js')
-rw-r--r-- | demo/src/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |