Revert "2.11.1"
This reverts commit 46ca280d4a2af9938c84321cc357435beea99235.
This commit is contained in:
parent
ba27209007
commit
472482b4e4
@ -2,7 +2,7 @@
|
|||||||
// @name 4chan x
|
// @name 4chan x
|
||||||
// @namespace aeosynth
|
// @namespace aeosynth
|
||||||
// @description Adds various features.
|
// @description Adds various features.
|
||||||
// @version 2.11.1
|
// @version 2.11.0
|
||||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||||
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
||||||
// @include http://boards.4chan.org/*
|
// @include http://boards.4chan.org/*
|
||||||
@ -1898,7 +1898,7 @@
|
|||||||
},
|
},
|
||||||
mouseover: function(e) {
|
mouseover: function(e) {
|
||||||
var el, id, qp, quote, replyID, threadID, _i, _len, _ref, _ref2;
|
var el, id, qp, quote, replyID, threadID, _i, _len, _ref, _ref2;
|
||||||
this.href = this.getAttribute('data-href');
|
this.href = this.dataset.href;
|
||||||
id = this.hash.slice(1);
|
id = this.hash.slice(1);
|
||||||
qp = $('#qp');
|
qp = $('#qp');
|
||||||
if (el = d.getElementById(id)) {
|
if (el = d.getElementById(id)) {
|
||||||
@ -2209,7 +2209,7 @@
|
|||||||
mouseover: function(e) {
|
mouseover: function(e) {
|
||||||
var a, el;
|
var a, el;
|
||||||
a = this.parentNode;
|
a = this.parentNode;
|
||||||
a.href = a.getAttribute('data-href');
|
a.href = a.dataset.href;
|
||||||
el = $('#iHover');
|
el = $('#iHover');
|
||||||
el.src = null;
|
el.src = null;
|
||||||
el.src = this.parentNode.href;
|
el.src = this.parentNode.href;
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
2.11.1
|
|
||||||
- work on firefox < 6.0
|
|
||||||
|
|
||||||
2.11.0
|
2.11.0
|
||||||
mayhem:
|
mayhem:
|
||||||
- fix quote highlighting
|
- fix quote highlighting
|
||||||
|
|||||||
2
header
2
header
@ -2,7 +2,7 @@
|
|||||||
// @name 4chan x
|
// @name 4chan x
|
||||||
// @namespace aeosynth
|
// @namespace aeosynth
|
||||||
// @description Adds various features.
|
// @description Adds various features.
|
||||||
// @version 2.11.1
|
// @version 2.11.0
|
||||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||||
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
||||||
// @include http://boards.4chan.org/*
|
// @include http://boards.4chan.org/*
|
||||||
|
|||||||
@ -1480,7 +1480,7 @@ quotePreview =
|
|||||||
node: (root) ->
|
node: (root) ->
|
||||||
for quote in $$ 'a.quotelink, a.backlink', root
|
for quote in $$ 'a.quotelink, a.backlink', root
|
||||||
continue unless quote.hash
|
continue unless quote.hash
|
||||||
# XXX dataset requires firefox 6.0+
|
# XXX this needs a globalEval (wtf?) on firefox 6.0a2 / scriptish
|
||||||
# quote.dataset.href = quote.href
|
# quote.dataset.href = quote.href
|
||||||
quote.setAttribute 'data-href', quote.href
|
quote.setAttribute 'data-href', quote.href
|
||||||
quote.removeAttribute 'href'
|
quote.removeAttribute 'href'
|
||||||
@ -1493,7 +1493,7 @@ quotePreview =
|
|||||||
@.removeAttribute 'href'
|
@.removeAttribute 'href'
|
||||||
$.removeClass el, 'qphl' if el = d.getElementById id
|
$.removeClass el, 'qphl' if el = d.getElementById id
|
||||||
mouseover: (e) ->
|
mouseover: (e) ->
|
||||||
@href = @getAttribute 'data-href'
|
@href = @dataset.href
|
||||||
id = @hash[1..]
|
id = @hash[1..]
|
||||||
qp = $ '#qp'
|
qp = $ '#qp'
|
||||||
if el = d.getElementById id
|
if el = d.getElementById id
|
||||||
@ -1689,7 +1689,7 @@ imageHover =
|
|||||||
$.bind thumb, 'mouseout', imageHover.cb.mouseout
|
$.bind thumb, 'mouseout', imageHover.cb.mouseout
|
||||||
mouseover: (e) ->
|
mouseover: (e) ->
|
||||||
a = @parentNode
|
a = @parentNode
|
||||||
a.href = a.getAttribute 'data-href'
|
a.href = a.dataset.href
|
||||||
el = $ '#iHover'
|
el = $ '#iHover'
|
||||||
el.src = null
|
el.src = null
|
||||||
el.src = @parentNode.href
|
el.src = @parentNode.href
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user