diff --git a/WebContent/cah.css b/WebContent/cah.css index bcc8dc6..e4d6199 100644 --- a/WebContent/cah.css +++ b/WebContent/cah.css @@ -589,6 +589,19 @@ span.debug, span.admin { font-weight:700; } +.checkbox { + margin-right: 4px; + white-space: nowrap; +} + +.checkbox input { + vertical-align: middle; +} + +.checkbox span { + vertical-align: middle; +} + .nowrap { white-space: nowrap; } diff --git a/WebContent/game.jsp b/WebContent/game.jsp index 70bd0a6..66a70c0 100644 --- a/WebContent/game.jsp +++ b/WebContent/game.jsp @@ -268,6 +268,7 @@ HttpSession hSession = request.getSession(true); +
Waiting for server...
diff --git a/WebContent/js/cah.game.js b/WebContent/js/cah.game.js index 4679c80..53120f3 100644 --- a/WebContent/js/cah.game.js +++ b/WebContent/js/cah.game.js @@ -544,6 +544,7 @@ cah.Game.prototype.addRoundWhiteCard_ = function(cards) { * @private */ cah.Game.prototype.handCardMouseEnter_ = function(e) { + if (!$(".game_animate_cards", this.element_).attr("checked")) return; $(e.data.card.getElement()).css("z-index", "2").animate({ scale : this.handCardLargeScale_, width : this.handCardLargeSize_, @@ -577,6 +578,7 @@ cah.Game.prototype.handCardMouseLeave_ = function(e) { * @private */ cah.Game.prototype.roundCardMouseEnter_ = function(e) { + if (!$(".game_animate_cards", this.element_).attr("checked")) return; $(e.data.card.getElement()).css("z-index", "201").animate({ scale : this.roundCardLargeScale_, width : this.roundCardLargeSize_,