mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-10-31 11:56:38 +00:00 
			
		
		
		
	Update 2 files
- /assets/js/main.js - /Gemfile
This commit is contained in:
		
							
								
								
									
										1
									
								
								Gemfile
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								Gemfile
									
									
									
									
									
								
							| @@ -7,6 +7,7 @@ group :jekyll_plugins do | ||||
|   gem "jekyll-sitemap", "~> 1.4.0" | ||||
|   gem "jekyll-feed", "~> 0.15.1" | ||||
|   gem "jekyll-include-cache", "~> 0.2.1" | ||||
|   gem "jekyll-readme-index", "~> 0.3.0" | ||||
|   gem "jekyll-theme-minimal" | ||||
|   gem "jekyll-paginate", "~> 1.1.0" | ||||
|   gem "kramdown-parser-gfm", "~> 1.1.0" | ||||
|   | ||||
| @@ -53,9 +53,9 @@ function getSearchJSON(callback) { | ||||
|     } | ||||
|     var searchData = JSON.parse(localStorage.getItem("blog_" + lastUpdated.valueOf())); | ||||
|     if (!searchData) { | ||||
|         for (var i = 0; i < localStorage.length; i++) { | ||||
|         for (var i = localStorage.length - 1; i >= 0; i--) { | ||||
|             var key = localStorage.key(i); | ||||
|             if (key.startsWith('blog_')) { | ||||
|             if (key.indexOf('blog_') === 0) { | ||||
|                 localStorage.removeItem(key); | ||||
|             } | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 mayx
					mayx