Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
45b649f9
Commit
45b649f9
authored
7 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
application.js: make the clipboard button selector more restrictive.
parent
a6996ef3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assets/js/src/application.js
+1
-1
assets/js/src/application.js
with
1 addition
and
1 deletion
+1
-1
assets/js/src/application.js
+
1
-
1
View file @
45b649f9
...
...
@@ -54,7 +54,7 @@
})
// Insert copy to clipboard button before .highlight
$
(
'
.highlight
'
).
each
(
function
()
{
$
(
'
figure.highlight, div
.highlight
'
).
each
(
function
()
{
var
btnHtml
=
'
<div class="bd-clipboard"><button class="btn-clipboard" title="Copy to clipboard">Copy</button></div>
'
$
(
this
).
before
(
btnHtml
)
$
(
'
.btn-clipboard
'
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment