Преглед изворни кода

Fixed a small bug in app.js.

KrisVos130 пре 9 година
родитељ
комит
59fee30508
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      app/app.js

+ 1 - 0
app/app.js

@@ -792,6 +792,7 @@ if (Meteor.isClient) {
                             Session.set("state", "playing");
                             if (yt_player !== undefined && yt_player.getPlayerState() !== 1) {
                                 yt_player.playVideo();
+                            } else if (_sound !== undefined && _sound.getState().indexOf("paused") !== -1) {
                                 _sound.play();
                             }
                         }