If we detect the paste icon isn't needed, hide it instead of disabling it so it can be brought back with CSS if necessary.

This commit is contained in:
ccd0 2017-01-29 11:33:02 -08:00
parent dfb6e55bb2
commit da01c5a58d

View File

@ -539,7 +539,7 @@ QR =
# https://bugzilla.mozilla.org/show_bug.cgi?id=906420
if $.engine is 'gecko' and not window.DataTransferItemList
nodes.pasteArea.hidden = false
new MutationObserver(QR.pasteFF).observe nodes.pasteArea, {childList: true}
new MutationObserver(QR.pasteFF).observe nodes.pasteArea, {childList: true}
# save selected post's data
items = ['thread', 'name', 'email', 'sub', 'com', 'filename']