mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Allow specs results to be scrolled
I added overflow hidden on the html and body tags in a previous commit to prevent rubber banding when scrolling the editor. But it broke the ability to scroll specs. This fixes that.
This commit is contained in:
@@ -35,6 +35,7 @@ afterEach ->
|
||||
|
||||
window.keymap.bindKeys '*', 'meta-w': 'close'
|
||||
$(document).on 'close', -> window.close()
|
||||
$('html,body').css('overflow', 'auto')
|
||||
|
||||
# Don't load user configuration in specs, because it's variable
|
||||
RootView.prototype.loadUserConfiguration = ->
|
||||
|
||||
Reference in New Issue
Block a user