chore: minor clean up

pull/260/head
ppoffice 2017-03-11 19:59:51 +08:00
parent 14f4664043
commit fe349d8bd3
3 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<%- css('libs/lightgallery/css/lightgallery.min') %>
<% } %>
<% if (theme.plugins.justifiedgallery) { %>
<%- css('libs/justified-gallery/justifiedGallery.min.css') %>
<%- css('libs/justified-gallery/justifiedGallery.min') %>
<% } %>
<% if (theme.plugins.google_analytics) { %>
<%- partial('plugin/google-analytics') %>
@ -27,6 +27,6 @@
<%- js('libs/lightgallery/js/lg-video.min') %>
<% } %>
<% if (theme.plugins.justifiedgallery) { %>
<%- js('libs/justified-gallery/jquery.justifiedGallery.min.js') %>
<%- js('libs/justified-gallery/jquery.justifiedGallery.min') %>
<% } %>
<% } %>

View File

@ -9,7 +9,6 @@ $link-dark
$block-caption
line-height: 1em
// color: color-grey
text-decoration: none
text-transform: uppercase

View File

@ -13,7 +13,7 @@
}
});
});
if (lightGallery) {
if (typeof lightGallery != 'undefined') {
var options = {
selector: '.gallery-item',
};