Remove dead links to Mayhem repo.
This commit is contained in:
parent
f2260ca2ac
commit
d7777859c8
@ -22,7 +22,7 @@ UI = do ->
|
|||||||
lastToggledButton = null
|
lastToggledButton = null
|
||||||
|
|
||||||
constructor: (@type) ->
|
constructor: (@type) ->
|
||||||
# Doc here: https://github.com/MayhemYDG/4chan-x/wiki/Menu-API
|
# XXX Deprecated
|
||||||
$.on d, 'AddMenuEntry', ({detail}) =>
|
$.on d, 'AddMenuEntry', ({detail}) =>
|
||||||
return if detail.type isnt @type
|
return if detail.type isnt @type
|
||||||
delete detail.open
|
delete detail.open
|
||||||
@ -329,7 +329,7 @@ UI = do ->
|
|||||||
$.on d, 'keydown', o.hoverend
|
$.on d, 'keydown', o.hoverend
|
||||||
$.on root, 'mousemove', o.hover
|
$.on root, 'mousemove', o.hover
|
||||||
<% if (type === 'userscript') { %>
|
<% if (type === 'userscript') { %>
|
||||||
# Workaround for https://github.com/MayhemYDG/4chan-x/issues/377
|
# Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=674955
|
||||||
o.workaround = (e) -> o.hoverend(e) unless root.contains e.target
|
o.workaround = (e) -> o.hoverend(e) unless root.contains e.target
|
||||||
$.on doc, 'mousemove', o.workaround
|
$.on doc, 'mousemove', o.workaround
|
||||||
<% } %>
|
<% } %>
|
||||||
@ -363,7 +363,7 @@ UI = do ->
|
|||||||
$.off d, 'keydown', @hoverend
|
$.off d, 'keydown', @hoverend
|
||||||
$.off @root, 'mousemove', @hover
|
$.off @root, 'mousemove', @hover
|
||||||
<% if (type === 'userscript') { %>
|
<% if (type === 'userscript') { %>
|
||||||
# Workaround for https://github.com/MayhemYDG/4chan-x/issues/377
|
# Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=674955
|
||||||
$.off doc, 'mousemove', @workaround
|
$.off doc, 'mousemove', @workaround
|
||||||
<% } %>
|
<% } %>
|
||||||
@cb.call @ if @cb
|
@cb.call @ if @cb
|
||||||
|
|||||||
@ -15,7 +15,6 @@ Fourchan =
|
|||||||
cb: @code
|
cb: @code
|
||||||
|
|
||||||
if g.BOARD.ID is 'sci'
|
if g.BOARD.ID is 'sci'
|
||||||
# https://github.com/MayhemYDG/4chan-x/issues/645#issuecomment-13704562
|
|
||||||
$.globalEval '''
|
$.globalEval '''
|
||||||
window.addEventListener('jsmath', function(e) {
|
window.addEventListener('jsmath', function(e) {
|
||||||
if (!jsMath) return;
|
if (!jsMath) return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user