Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
07e76a57
Commit
07e76a57
authored
Apr 28, 2015
by
XhmikosR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Redo changes needed to hide Copy button.
parent
438cae9d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
28 deletions
+28
-28
docs/assets/js/docs.min.js
docs/assets/js/docs.min.js
+9
-9
docs/assets/js/src/application.js
docs/assets/js/src/application.js
+19
-19
No files found.
docs/assets/js/docs.min.js
View file @
07e76a57
This diff is collapsed.
Click to expand it.
docs/assets/js/src/application.js
View file @
07e76a57
...
@@ -145,30 +145,30 @@
...
@@ -145,30 +145,30 @@
.
data
(
'
placement
'
,
'
top
'
)
.
data
(
'
placement
'
,
'
top
'
)
.
attr
(
'
title
'
,
'
Copy to clipboard
'
)
.
attr
(
'
title
'
,
'
Copy to clipboard
'
)
.
tooltip
()
.
tooltip
()
})
// Copy to clipboard
zeroClipboard
.
on
(
'
dataRequested
'
,
function
(
client
)
{
var
highlight
=
$
(
this
).
parent
().
nextAll
(
'
.highlight
'
).
first
()
client
.
setText
(
highlight
.
text
())
})
// Notify copy success and reset tooltip title
// Copy to clipboard
zeroClipboard
.
on
(
'
complete
'
,
function
()
{
zeroClipboard
.
on
(
'
dataRequested
'
,
function
(
client
)
{
htmlBridge
var
highlight
=
$
(
this
).
parent
().
nextAll
(
'
.highlight
'
).
first
()
.
attr
(
'
title
'
,
'
Copied!
'
)
client
.
setText
(
highlight
.
text
())
.
tooltip
(
'
fixTitle
'
)
})
.
tooltip
(
'
show
'
)
.
attr
(
'
title
'
,
'
Copy to clipboard
'
)
// Notify copy success and reset tooltip title
.
tooltip
(
'
fixTitle
'
)
zeroClipboard
.
on
(
'
complete
'
,
function
()
{
htmlBridge
.
attr
(
'
title
'
,
'
Copied!
'
)
.
tooltip
(
'
fixTitle
'
)
.
tooltip
(
'
show
'
)
.
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
()
{
zeroClipboard
.
on
(
'
noflash wrongflash
'
,
function
()
{
htmlBridge
$
(
'
.zero-clipboard
'
).
remove
()
.
attr
(
'
title
'
,
'
Flash required
'
)
ZeroClipboard
.
destroy
()
.
tooltip
(
'
fixTitle
'
)
.
tooltip
(
'
show
'
)
})
})
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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