dever 6 年之前
父節點
當前提交
8b9963e9d4
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      main/assets/mobile/content.html

+ 5 - 1
main/assets/mobile/content.html

@@ -102,8 +102,12 @@ function audioPlay(id){
 function audioPause(id){
     $('#auido_'+ id).find('.sound').removeClass('playing');
 }
-function emit(id,txt){
+function emit(id,txt,type){
     $('#live_note_'+ id).html(txt);
+    var href = $('#live_note_'+ id).attr('href');
+    var temp = href.split('note=');
+    href = href[0] + 'note=' + type;
+    $('#live_note_'+ id).attr('href', href);
 }
 
 </script>