mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 06:03:10 +02:00
Redo changes needed to hide Copy button.
This commit is contained in:
8
docs/assets/js/docs.min.js
vendored
8
docs/assets/js/docs.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -145,7 +145,7 @@
|
|||||||
.data('placement', 'top')
|
.data('placement', 'top')
|
||||||
.attr('title', 'Copy to clipboard')
|
.attr('title', 'Copy to clipboard')
|
||||||
.tooltip()
|
.tooltip()
|
||||||
})
|
|
||||||
|
|
||||||
// Copy to clipboard
|
// Copy to clipboard
|
||||||
zeroClipboard.on('dataRequested', function (client) {
|
zeroClipboard.on('dataRequested', function (client) {
|
||||||
@@ -162,13 +162,13 @@
|
|||||||
.attr('title', 'Copy to clipboard')
|
.attr('title', 'Copy to clipboard')
|
||||||
.tooltip('fixTitle')
|
.tooltip('fixTitle')
|
||||||
})
|
})
|
||||||
|
})
|
||||||
|
|
||||||
// Notify copy failure
|
// Hide copy button when no Flash is found
|
||||||
|
// or wrong Flash version is present
|
||||||
zeroClipboard.on('noflash wrongflash', function () {
|
zeroClipboard.on('noflash wrongflash', function () {
|
||||||
htmlBridge
|
$('.zero-clipboard').remove()
|
||||||
.attr('title', 'Flash required')
|
ZeroClipboard.destroy()
|
||||||
.tooltip('fixTitle')
|
|
||||||
.tooltip('show')
|
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user