Commit 07e76a57 authored by XhmikosR's avatar XhmikosR

Redo changes needed to hide Copy button.

parent 438cae9d
This diff is collapsed.
......@@ -145,7 +145,7 @@
.data('placement', 'top')
.attr('title', 'Copy to clipboard')
.tooltip()
})
// Copy to clipboard
zeroClipboard.on('dataRequested', function (client) {
......@@ -162,13 +162,13 @@
.attr('title', 'Copy to clipboard')
.tooltip('fixTitle')
})
})
// Notify copy failure
// Hide copy button when no Flash is found
// or wrong Flash version is present
zeroClipboard.on('noflash wrongflash', function () {
htmlBridge
.attr('title', 'Flash required')
.tooltip('fixTitle')
.tooltip('show')
$('.zero-clipboard').remove()
ZeroClipboard.destroy()
})
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment