Merge branch 'gemp-dev' into card-dev
This commit is contained in:
@@ -1956,7 +1956,10 @@ var GempLotrGameUI = Class.extend({
|
|||||||
|
|
||||||
PlaySound: function(soundObj) {
|
PlaySound: function(soundObj) {
|
||||||
var myAudio = document.getElementById(soundObj);
|
var myAudio = document.getElementById(soundObj);
|
||||||
myAudio.play();
|
if(!document.hasFocus() || document.hidden || document.msHidden || document.webkitHidden)
|
||||||
|
{
|
||||||
|
myAudio.play();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
createActionChoiceContextMenu: function (actions, event, selectActionFunction) {
|
createActionChoiceContextMenu: function (actions, event, selectActionFunction) {
|
||||||
|
|||||||
Reference in New Issue
Block a user