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
7444310c
Commit
7444310c
authored
13 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
only prevent default of links in sections
parent
3ed836b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/assets/js/application.js
+1
-1
docs/assets/js/application.js
with
1 addition
and
1 deletion
+1
-1
docs/assets/js/application.js
+
1
-
1
View file @
7444310c
...
@@ -38,7 +38,7 @@ $(function(){
...
@@ -38,7 +38,7 @@ $(function(){
// it's merely here to prevent button clicks form taking you
// it's merely here to prevent button clicks form taking you
// away from your spot on page!!
// away from your spot on page!!
$
(
'
[href^=#]
'
).
click
(
function
(
e
)
{
$
(
'
section
[href^=#]
'
).
click
(
function
(
e
)
{
e
.
preventDefault
()
e
.
preventDefault
()
})
})
...
...
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