version 1.2.4

next 1.2.4
SukkaW 6 years ago
parent 940d9946f0
commit d8f3ec1c18

@ -45,11 +45,11 @@
```html
<!-- Unpkg -->
<link rel="stylesheet" href="https://unpkg.com/disqusjs@1.1/dist/disqusjs.css">
<link rel="stylesheet" href="https://unpkg.com/disqusjs@1.2/dist/disqusjs.css">
<script src="https://unpkg.com/disqusjs@1.1/dist/disqus.js"></script>
<!-- jsDelivr -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/disqusjs@1.1/dist/disqusjs.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/disqusjs@1.2/dist/disqusjs.css">
<script src="https://cdn.jsdelivr.net/npm/disqusjs@1.1/dist/disqus.js"></script>
```

4
dist/disqus.js vendored

File diff suppressed because one or more lines are too long

4
dist/disqusjs.css vendored

File diff suppressed because one or more lines are too long

@ -1,6 +1,6 @@
{
"name": "disqusjs",
"version": "1.2.3",
"version": "1.2.4",
"description": "Alternative DISQUS - Render comments components from Disqus API",
"main": "dist/disqus.js",
"scripts": {

@ -546,7 +546,7 @@
* @return {string} msg - 经过处理的评论信息
*/
let removeDisqUs = (msg) => {
let el = document.createElement('div');
let el = d.createElement('div');
el.innerHTML = msg;
let aTag = el.getElementsByTagName('a');
for (let i of aTag) {

Loading…
Cancel
Save