Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

undo DataHandler max posts

  • Loading branch information...
commit 5324f4b68a524495b601f6f73f2a8e0d8e8cd162 1 parent 457687a
Astro astro authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/handlers/data.coffee
  2. +1 −1  src/views/sidebar/entry.coffee
2  src/handlers/data.coffee
View
@@ -44,7 +44,7 @@ class exports.DataHandler extends Backbone.EventHandler
# @param node {Node model or nodeid}
# @param callback(err, done)
- get_node_posts: (node, max=40, callback) ->
+ get_node_posts: (node, callback) ->
if typeof node is 'string'
channel = app.channels.get_or_create id:node
node = channel.nodes.get_or_create nodeid:node
2  src/views/sidebar/entry.coffee
View
@@ -24,7 +24,7 @@ class exports.ChannelEntry extends BaseView
statusnode = @model.nodes.get_or_create(id: 'status')
statusnode.bind 'post', =>
@trigger 'update:status', statusnode.posts.at(0)?.get('content')?.value
- app.handler.data.get_node_posts statusnode.get('nodeid'), 1
+ app.handler.data.get_node_posts statusnode.get('nodeid')
events:
"click": "click_entry"
Please sign in to comment.
Something went wrong with that request. Please try again.