Commit 042ab6d2 by Ibrahim Awwal

Suppress underscore errors when not on the right page. Ideally page specific JS…

Suppress underscore errors when not on the right page. Ideally page specific JS execution would take care of this.
parent 259e6e46
if Backbone?
class @DiscussionThreadListView extends Backbone.View
template: _.template($("#thread-list-template").html())
events:
"click .search": "showSearch"
"click .browse": "toggleTopicDrop"
......@@ -17,6 +16,7 @@ if Backbone?
@sidebar_padding = 10
@sidebar_header_height = 87
@boardName
@template = _.template($("#thread-list-template").html())
reloadDisplayedCollection: (thread) =>
thread_id = thread.get('id')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment