From ca2b48e1ee754636a00490460493f1adb6d2dc04 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Mon, 11 Feb 2013 20:43:25 -0500 Subject: [PATCH] Prevent scrolling in the stream/user sidebar from moving the message view (imported from commit b2279b2bac07e29a41b3e5335d2e0d81eb196757) --- zephyr/static/js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/static/js/ui.js b/zephyr/static/js/ui.js index 6f25264a69..6dcdb4b4dc 100644 --- a/zephyr/static/js/ui.js +++ b/zephyr/static/js/ui.js @@ -571,7 +571,7 @@ $(function () { // Stop propagation in all cases. Also, ignore the event if the element // is already at the top or bottom. Otherwise we get a new scroll event // on the parent (?). - $('.modal-body, input, textarea').mousewheel(function (e, delta) { + $('.modal-body, .bottom_sidebar, input, textarea').mousewheel(function (e, delta) { var self = $(this); var scroll = self.scrollTop(); e.stopPropagation();