diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-09-02 21:47:25 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-09-02 21:47:25 +0200 |
commit | aed1ccac95072ef3bacfc2563800db39609bef9d (patch) | |
tree | 9287d0f304595d79843bfb13a5fca5a496aec1b4 /public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js | |
parent | 5ccb7d40c8669c7fa3833eb1f2aa9fbae80b6ace (diff) | |
download | hmnoweb-deploy-20180902.tar.gz hmnoweb-deploy-20180902.tar.bz2 hmnoweb-deploy-20180902.zip |
Precompile assets and check them into vc.deploy-20180902
Since we disabled asset compilation in production, we need to precompile them
on the development machine. We check the precompiled assets into version control
so the will be deployed with the updated code.
Diffstat (limited to 'public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js')
-rw-r--r-- | public/assets/refinery/ajaxy_pagination-31502fd935145e1ca2129fc1a0194ecc.js | 1 |
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 |