dever 6 lat temu
rodzic
commit
8b9963e9d4
1 zmienionych plików z 5 dodań i 1 usunięć
  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>