mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-10-31 10:22:08 +08:00 
			
		
		
		
	Update 2 files
- /assets/js/main.js - /Gemfile
This commit is contained in:
		| @@ -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