问吧的我要提问,默认选择其进入的贴吧

This commit is contained in:
daiao 2016-12-30 11:03:30 +08:00
parent 16e1f0c701
commit 6acb0b0a5d
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@
</div>
<script>
$(document).ready(function(){
$("#forums_question_"+<%= params[:forum_id] %>).addClass("wenba-tiwen-tag-active");
});
function add_forum(id){
$("#memo_classify_tips").attr('style','color: #333;');
$('a').removeClass("wenba-tiwen-tag-active");