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
f1a69722
Commit
f1a69722
authored
13 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
fix drag knob in firefox
#7
parent
73f1bcf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/assets/js/application.js
+3
-4
docs/assets/js/application.js
with
3 additions
and
4 deletions
+3
-4
docs/assets/js/application.js
+
3
-
4
View file @
f1a69722
...
...
@@ -92,10 +92,9 @@ $(document).ready(function(){
// Copy code blocks in docs
$
(
"
.copy-code
"
).
focus
(
function
()
{
$
(
this
).
select
();
});
$
(
"
.copy-code
"
).
mouseup
(
function
(
e
)
{
e
.
preventDefault
();
var
el
=
this
;
// push select to event loop for chrome :{o
setTimeout
(
function
()
{
$
(
el
).
select
();
},
1
);
});
...
...
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