hexo-theme-next
Advanced tools
Comparing version 7.0.0 to 7.0.1
{ | ||
"name": "theme-next", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"homepage": "https://theme-next.org", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "hexo-theme-next", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "Elegant and powerful theme for Hexo", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -25,3 +25,3 @@ /** | ||
exturl = 'exturl'; | ||
var encoded = new Buffer(path).toString('base64'); | ||
var encoded = Buffer.from(path).toString('base64'); | ||
attrs = { | ||
@@ -28,0 +28,0 @@ class : exturl, |
@@ -33,2 +33,3 @@ /* global NexT, CONFIG */ | ||
$('.fancybox').fancybox({ | ||
loop: true, | ||
helpers: { | ||
@@ -269,3 +270,3 @@ overlay: { | ||
getContentVisibilityHeight: function() { | ||
var docHeight = $('#content').height(); | ||
var docHeight = $('.container').height(); | ||
var winHeight = $(window).height(); | ||
@@ -296,2 +297,6 @@ var contentVisibilityHeight = docHeight > winHeight ? docHeight - winHeight : $(document).height() - winHeight; | ||
function wrapTable() { | ||
$('table').not('figure table').wrap('<div class="table-container"></div>'); | ||
} | ||
/** | ||
@@ -333,2 +338,3 @@ * Init Sidebar & TOC inner dimensions on all pages and for all schemes. | ||
initSidebarDimension(); | ||
wrapTable(); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1603836
11001
320