Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Commit cfe3c13

Browse files
committed
fixed for wikipedia links.
1 parent 79ca4da commit cfe3c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/plugins/unonebox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ var unonebox = {
6464
var frag = document.createElement( 'div' );
6565
frag.innerHTML = msgObj.content;
6666
// do not un-onebox youtube videos and quotes
67-
var link = frag.querySelector( '.onebox:not(.ob-youtube):not(.ob-message) a' );
67+
var link = frag.querySelector( '.onebox:not(.ob-youtube):not(.ob-message):not(.ob-wikipedia) a' );
6868

6969
// No onebox, no un-oneboxing.
7070
// ugly fix for quoted messages as well.

0 commit comments

Comments
 (0)