Skip to content

Commit

Permalink
Updating the error slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Mar 22, 2015
1 parent 06ec9dd commit a32445c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/js.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
if(typeof fn === 'function') {
this.callbacks.onNewComment = [ fn ];
} else {
throw "You messed something up with newCommentCallbackFunctionName";
throw "The new comment callback function is invalid! Make sure it's set globally on the window object.";
}
{%- endif -%}
Expand Down

0 comments on commit a32445c

Please sign in to comment.