From f44ac127234c68f011da5739355783a29adacbc1 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke <marijnh@gmail.com> Date: Fri, 17 Aug 2012 10:38:38 +0200 Subject: [PATCH] Amendment to commit c0ab870831f0df5b2fc98ad9c2184253b51e52cb --- lib/codemirror.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/codemirror.js b/lib/codemirror.js index 8ded14bb8..a97533a3c 100644 --- a/lib/codemirror.js +++ b/lib/codemirror.js @@ -839,7 +839,7 @@ var CodeMirror = (function() { function updateVerticalScroll(scrollTop) { var scrollHeight = needsScrollbar(); - scrollbar.style.display = scrollHeight ? "block" : "none"; + scrollbar.style.display = (scrollHeight && !mac_geLion) ? "block" : "none"; if (scrollHeight) { scrollbarInner.style.height = sizer.style.minHeight = scrollHeight + "px"; scrollbar.style.height = scroller.clientHeight + "px"; -- GitLab