This commit is contained in:
barisusakli
2014-06-10 16:56:55 -04:00
parent b43602f5b6
commit 311a7ad5b9
12 changed files with 224 additions and 135 deletions

View File

@@ -53,7 +53,7 @@ define('forum/topic/postTools', ['composer', 'share', 'navigator'], function(com
function addPostHandlers(tid, threadState) {
$('.topic').on('click', '.post_reply', function() {
if (threadState.locked !== '1') {
if (!threadState.locked) {
onReplyClicked($(this), tid, topicName);
}
});
@@ -61,7 +61,7 @@ define('forum/topic/postTools', ['composer', 'share', 'navigator'], function(com
var postContainer = $('#post-container');
postContainer.on('click', '.quote', function() {
if (threadState.locked !== '1') {
if (!threadState.locked) {
onQuoteClicked($(this), tid, topicName);
}
});