소스 검색

danmaku url bug

DIYgod 9 년 전
부모
커밋
de22a18af8
3개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 0
      dist/DPlayer.min.js
  2. 0 0
      dist/DPlayer.min.js.map
  3. 2 2
      src/DPlayer.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/DPlayer.min.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/DPlayer.min.js.map


+ 2 - 2
src/DPlayer.js

@@ -685,7 +685,7 @@
                     }
                 }
             };
-            xhr.open('get', this.option.danmaku.add, true);
+            xhr.open('get', this.option.danmaku.get, true);
             xhr.send(null);
         }
         else {
@@ -791,7 +791,7 @@
                     }
                 }
             };
-            xhr.open('post', this.option.danmaku.get, true);
+            xhr.open('post', this.option.danmaku.add, true);
             xhr.send(JSON.stringify(danmakuData));
 
             commentInput.value = '';

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.