Skip to content

Commit

Permalink
Reducing initialize timeout to 100 makes initialization more reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
rbackhouse committed Mar 8, 2014
1 parent 67eec2b commit 6040d6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
bin/
build/
node_modules/
tmp/
2 changes: 1 addition & 1 deletion resources/js/chromecast.js
Expand Up @@ -54,7 +54,7 @@ define(function() {
};

if (!chrome.cast || !chrome.cast.isAvailable) {
setTimeout(initializeCastApi, 1000);
setTimeout(initializeCastApi, 100);
}

var updateListener = function(isAlive) {
Expand Down

0 comments on commit 6040d6f

Please sign in to comment.