Commit 56bbbce8 authored by fred's avatar fred
Browse files

do not ajaxify links if fiber is on

parent f239c62c
...@@ -115,6 +115,11 @@ $(function() { ...@@ -115,6 +115,11 @@ $(function() {
dataType: 'html'}); dataType: 'html'});
}; };
$.fn.ajaxifyClick = function(params) { $.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.each(function() {
$(this).unbind('click'); $(this).unbind('click');
$(this).bind('click',function(e){ $(this).bind('click',function(e){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment