From 199e85e4a98ff181588b0c17e9def1678bedb879 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Thu, 28 Sep 2017 12:16:02 +0100 Subject: [PATCH] Comment --- .../public/coffee/ide/AutoCompileOnboardingController.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/web/public/coffee/ide/AutoCompileOnboardingController.coffee b/services/web/public/coffee/ide/AutoCompileOnboardingController.coffee index 50852d8093..37b52c754f 100644 --- a/services/web/public/coffee/ide/AutoCompileOnboardingController.coffee +++ b/services/web/public/coffee/ide/AutoCompileOnboardingController.coffee @@ -6,6 +6,8 @@ define [ popover = angular.element('.onboarding__autocompile') { top, left } = recompileBtn.offset() + # If pdf panel smaller than recompile button + popover, show to left. + # Otherwise show to right if $scope.ui.pdfWidth < 475 $scope.placement = 'left' popover.offset({