Fix #443
This commit is contained in:
parent
9474942271
commit
24bbf117a8
@ -6812,7 +6812,7 @@
|
|||||||
if (this.isClone) {
|
if (this.isClone) {
|
||||||
if (Conf['Embedding']) {
|
if (Conf['Embedding']) {
|
||||||
i = 0;
|
i = 0;
|
||||||
items = $$('.embed', this.nodes.comment);
|
items = $$('.embedder', this.nodes.comment);
|
||||||
while (el = items[i++]) {
|
while (el = items[i++]) {
|
||||||
$.on(el, 'click', Linkify.cb.toggle);
|
$.on(el, 'click', Linkify.cb.toggle);
|
||||||
if ($.hasClass(el, 'embedded')) {
|
if ($.hasClass(el, 'embedded')) {
|
||||||
|
|||||||
@ -6822,7 +6822,7 @@
|
|||||||
if (this.isClone) {
|
if (this.isClone) {
|
||||||
if (Conf['Embedding']) {
|
if (Conf['Embedding']) {
|
||||||
i = 0;
|
i = 0;
|
||||||
items = $$('.embed', this.nodes.comment);
|
items = $$('.embedder', this.nodes.comment);
|
||||||
while (el = items[i++]) {
|
while (el = items[i++]) {
|
||||||
$.on(el, 'click', Linkify.cb.toggle);
|
$.on(el, 'click', Linkify.cb.toggle);
|
||||||
if ($.hasClass(el, 'embedded')) {
|
if ($.hasClass(el, 'embedded')) {
|
||||||
|
|||||||
@ -34,7 +34,7 @@ Linkify =
|
|||||||
if @isClone
|
if @isClone
|
||||||
if Conf['Embedding']
|
if Conf['Embedding']
|
||||||
i = 0
|
i = 0
|
||||||
items = $$ '.embed', @nodes.comment
|
items = $$ '.embedder', @nodes.comment
|
||||||
while el = items[i++]
|
while el = items[i++]
|
||||||
$.on el, 'click', Linkify.cb.toggle
|
$.on el, 'click', Linkify.cb.toggle
|
||||||
Linkify.cb.toggle.call el if $.hasClass el, 'embedded'
|
Linkify.cb.toggle.call el if $.hasClass el, 'embedded'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user