Merge pull request #325 from inkss/pjax-push

Pjax push
pjax2
Mr. X 4 years ago committed by GitHub
commit 378e5a3edf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      layout/_partial/scripts.ejs

@ -436,6 +436,13 @@
try{
pjax_fancybox();
<% if (theme.plugins.backstretch && theme.plugins.backstretch.enable && theme.plugins.backstretch.images) { %>
if ('<%- posi %>') {
$('<%- posi %>').backstretch("resize");
} else {
$.backstretch("resize");
}
<% } %>
<% if (theme.plugins.scrollreveal && theme.plugins.scrollreveal.js) { %>
pjax_scrollrebeal();
<% } %>

Loading…
Cancel
Save