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:
Nathan Sobo
2012-11-15 13:52:29 -07:00
parent a1cff240b6
commit 5803332501

View File

@@ -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 = ->