Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikweb
Commits
56bbbce8
Commit
56bbbce8
authored
Dec 16, 2013
by
fred
Browse files
do not ajaxify links if fiber is on
parent
f239c62c
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/static/js/specifics.js
View file @
56bbbce8
...
...
@@ -115,6 +115,11 @@ $(function() {
dataType
:
'
html
'
});
};
$
.
fn
.
ajaxifyClick
=
function
(
params
)
{
if
(
$
(
'
#df-wpr-sidebar
'
).
length
>
0
)
{
/* this is fiber sidebar, it doesn't work well with
* seamless page loading */
return
;
}
this
.
each
(
function
()
{
$
(
this
).
unbind
(
'
click
'
);
$
(
this
).
bind
(
'
click
'
,
function
(
e
){
...
...
Write
Preview
Supports
Markdown
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