Skip to content

Commit

Permalink
Fixes issue compunet#1
Browse files Browse the repository at this point in the history
  • Loading branch information
backb1 committed Dec 5, 2013
1 parent 08a4605 commit 40ae989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ var BGPlay = function(domElement){
cssListenerInterval = 50; //50 ms
cssListenerTimeout = 10000; // 10 secs
cssListener = setInterval(function(){
if(environment.bgplayDom.css("margin-left") === "-10px"){
if(environment.bgplayDom.css("margin-top") === "-10px"){
clearInterval(cssListener);

if (environment.jsonWrap.confirm(data)){
Expand Down

0 comments on commit 40ae989

Please sign in to comment.