Merge branch 'master' into qr
This commit is contained in:
commit
e1cc2309a1
@ -2248,7 +2248,9 @@ textarea.field {\
|
||||
},
|
||||
toggle: function(e) {
|
||||
var id;
|
||||
if (e.shiftKey || e.altKey || e.ctrlKey || e.button !== 0) return;
|
||||
if (e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
id = this.hash.slice(1);
|
||||
if (/\binlined\b/.test(this.className)) {
|
||||
@ -2724,7 +2726,9 @@ textarea.field {\
|
||||
},
|
||||
cb: {
|
||||
toggle: function(e) {
|
||||
if (e.shiftKey || e.altKey || e.ctrlKey || e.button !== 0) return;
|
||||
if (e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
return imgExpand.toggle(this);
|
||||
},
|
||||
|
||||
@ -1745,7 +1745,7 @@ quoteInline =
|
||||
quote.removeAttribute 'onclick'
|
||||
$.on quote, 'click', quoteInline.toggle
|
||||
toggle: (e) ->
|
||||
return if e.shiftKey or e.altKey or e.ctrlKey or e.button isnt 0
|
||||
return if e.shiftKey or e.altKey or e.ctrlKey or e.metaKey or e.button isnt 0
|
||||
e.preventDefault()
|
||||
id = @hash[1..]
|
||||
if /\binlined\b/.test @className
|
||||
@ -2080,7 +2080,7 @@ imgExpand =
|
||||
imgExpand.expand a.firstChild
|
||||
cb:
|
||||
toggle: (e) ->
|
||||
return if e.shiftKey or e.altKey or e.ctrlKey or e.button isnt 0
|
||||
return if e.shiftKey or e.altKey or e.ctrlKey or e.metaKey or e.button isnt 0
|
||||
e.preventDefault()
|
||||
imgExpand.toggle @
|
||||
all: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user