assets/scripts/core.js in bfdotcom-theme-0.2.4 vs assets/scripts/core.js in bfdotcom-theme-0.2.5
- old
+ new
@@ -176,10 +176,10 @@
apigClient.commentsPost({}, {
"authorName": userInfo.name,
"authorEmail": userInfo.email,
"postUrl": window.location.pathname,
"comment": commentText
- }, additionalParams)
+ }, {})
.then(function(result){
//This is where you would put a success callback
$('#commentSuccess').show()
$('#submittingComment').hide()
}).catch( function(result){