aboutsummaryrefslogtreecommitdiffstats
path: root/public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js')
-rw-r--r--public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js b/public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js
new file mode 100644
index 0000000..4a1b60c
--- /dev/null
+++ b/public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js
@@ -0,0 +1 @@
+(function(){this.init_ajaxy_pagination=function(){if("function"==typeof window.history.pushState&&0<$(".pagination_container").length&&$(".pagination_container .pagination a").on("click",function(n){var t,a;return a=this.href.replace(/(\&(amp\;)?)?from_page\=\d+/,""),a=(a+="&from_page="+$(".current").text()).replace("?&","?").replace(/\s+/,""),t=location.pathname+location.href.split(location.pathname)[1],window.history.pushState({path:t},"",a),$(document).paginateTo(a),n.preventDefault()}),$(".pagination_container").applyMinimumHeightFromChildren(),0===$(".pagination_container").find(".pagination").length)return $(".pagination_frame").css("top","0px")}}).call(this); \ No newline at end of file