From 5a0a4d1446b8e816bd68ff0fcec211eba8ca100f Mon Sep 17 00:00:00 2001 From: Matt Lott Date: Mon, 9 Mar 2015 12:50:27 -0700 Subject: [PATCH] No auto-fullscreen for admins --- app/views/play/menu/InventoryModal.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/play/menu/InventoryModal.coffee b/app/views/play/menu/InventoryModal.coffee index 509a6b3c8..3060a5bdf 100644 --- a/app/views/play/menu/InventoryModal.coffee +++ b/app/views/play/menu/InventoryModal.coffee @@ -483,7 +483,7 @@ module.exports = class InventoryModal extends ModalView @playSound 'menu-button-click' @showLoading() ua = navigator.userAgent.toLowerCase() - unless hasGoneFullScreenOnce or (/safari/.test(ua) and not /chrome/.test(ua)) or $(window).height() >= 658 # Min vertical resolution needed at 1366px wide + unless me.isAdmin() or hasGoneFullScreenOnce and (/safari/.test(ua) and not /chrome/.test(ua)) or $(window).height() >= 658 # Min vertical resolution needed at 1366px wide @toggleFullscreen() hasGoneFullScreenOnce = true @updateConfig =>