lex 11 месяцев назад
Родитель
Сommit
f5b32d0245
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      instrument.html

+ 1 - 1
instrument.html

@@ -45,7 +45,7 @@
   <img id="loading" class="show" src="/loading.svg" alt="loading" />
   <script>
     // 处理课堂乐器老师端打开听音练习时去掉加载动画
-    if (location.href.indexOf('view-figner') >= 0 && location.href.indexOf('platform=pc') >= 0) {
+    if (location.href.indexOf('view-figner') >= 0 && location.href.indexOf('platform=pc') >= 0 && location.href.indexOf('linkSource=class') < 0) {
       var _loading = document.getElementById("loading");
       _loading && document.body.removeChild(_loading);
     }