remove debug logs
This commit is contained in:
parent
8b43e63800
commit
4b98350f48
|
|
@ -111,13 +111,11 @@
|
||||||
var $txtComment = $('#txtComment', $screen);
|
var $txtComment = $('#txtComment', $screen);
|
||||||
|
|
||||||
if (!context.JK.currentUserId) {
|
if (!context.JK.currentUserId) {
|
||||||
console.log('here1');
|
|
||||||
$txtComment.attr('placeholder', 'You must be logged in to add a comment.');
|
$txtComment.attr('placeholder', 'You must be logged in to add a comment.');
|
||||||
$btnSelector.removeClass('button-orange');
|
$btnSelector.removeClass('button-orange');
|
||||||
$btnSelector.addClass('button-grey');
|
$btnSelector.addClass('button-grey');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
console.log('here2');
|
|
||||||
$btnSelector.unbind('click');
|
$btnSelector.unbind('click');
|
||||||
$btnSelector.click(addComment);
|
$btnSelector.click(addComment);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue