Skip to content

Commit

Permalink
unbreak logged in user comments #218
Browse files Browse the repository at this point in the history
  • Loading branch information
Shelob9 committed Sep 23, 2016
1 parent b9f37e8 commit 9dbc062
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/js/epoch.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,8 @@ function Epoch( $, EpochFront ) {

data.author_email = encodeURI( data.author_email );
delete data.author;

data.epoch = true;
data._wpnonce = EpochFront._wpnonce;
$.post( EpochFront.comments_core, data ).done( function ( r, textStatus, rObj ) {

total = rObj.getResponseHeader( 'X-WP-EPOCH-TOTAL-COMMENTS' );
Expand Down

0 comments on commit 9dbc062

Please sign in to comment.