lint: Fix many no-unused-vars eslint rule violations.

These have been carefully audited by tabbott to ensure they are
unlikely to cause regressions.
This commit is contained in:
Rafid Aslam
2016-12-02 20:06:06 +07:00
committed by Tim Abbott
parent 80ad28bab5
commit 45f39be37f
36 changed files with 127 additions and 219 deletions

View File

@@ -521,7 +521,6 @@ exports.register_click_handlers = function () {
var stream = $(elt).parents('li').attr('data-name');
var ypos = $(elt).offset().top - viewport.scrollTop();
$(elt).popover({
content: templates.render('stream_sidebar_actions', {stream: stream_data.get_sub(stream)}),
trigger: "manual",
@@ -566,7 +565,7 @@ exports.register_click_handlers = function () {
$(e.target).hide();
});
$('.streams_popover').on('click', 'a.sp-cancel', function (e) {
$('.streams_popover').on('click', 'a.sp-cancel', function () {
popovers.hide_stream_sidebar_popover();
});
});