From e558b5bf2336d15ecf45fec734d91c4879a5b53e Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Fri, 31 May 2013 13:59:24 -0400 Subject: [PATCH] Fix whitespace in code. (imported from commit 4bb750f886ccffc22d54140c10d39f0f91725156) --- zephyr/static/js/typeahead_helper.js | 2 +- zephyr/static/js/ui.js | 2 +- zephyr/static/js/viewport.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/zephyr/static/js/typeahead_helper.js b/zephyr/static/js/typeahead_helper.js index 54da1aec3a..12734b61d9 100644 --- a/zephyr/static/js/typeahead_helper.js +++ b/zephyr/static/js/typeahead_helper.js @@ -62,7 +62,7 @@ exports.highlight_query_in_phrase = function (query, phrase) { query = query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&'); var regex = new RegExp('(^' + query + ')', 'ig'); - var result = ""; + var result = ""; var parts = phrase.split(' '); for (i = 0; i < parts.length; i++) { if (i > 0) result += " "; diff --git a/zephyr/static/js/ui.js b/zephyr/static/js/ui.js index 809dc00dde..70b97f94de 100644 --- a/zephyr/static/js/ui.js +++ b/zephyr/static/js/ui.js @@ -55,7 +55,7 @@ exports.message_viewport_info = function () { res.visible_height = element_just_below_us.offset().top - res.visible_top; - + return res; }; diff --git a/zephyr/static/js/viewport.js b/zephyr/static/js/viewport.js index 1827ee6006..cd8f9dcaaa 100644 --- a/zephyr/static/js/viewport.js +++ b/zephyr/static/js/viewport.js @@ -78,7 +78,7 @@ exports.stop_auto_scrolling = function() { exports.system_initiated_animate_scroll = function (scroll_amount) { suppress_scroll_pointer_update = true; // Gets set to false in the scroll handler. var viewport_offset = exports.scrollTop(); - in_stoppable_autoscroll = true; + in_stoppable_autoscroll = true; $("html, body").animate({ scrollTop: viewport_offset + scroll_amount, always: function () {