Commit 2b1c913c by Ibrahim Awwal

Default argument value for options in Discussion so that inline discussions can still

work without modification. Eventually we'll want to switch the pagination there to
match the pagination on the main forum though.
parent 3ffc2706
......@@ -2,7 +2,7 @@ if Backbone?
class @Discussion extends Backbone.Collection
model: Thread
initialize: (models, options)->
initialize: (models, options={})->
@pages = options['pages'] || 1
@current_page = 1
@bind "add", (item) =>
......
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