From b769da091d43a732b762483410f59998c99c5be6 Mon Sep 17 00:00:00 2001 From: manson Date: Mon, 16 Jun 2014 14:27:27 +0800 Subject: [PATCH] Fix show page not displaying content --- app/assets/javascripts/kernel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/kernel.js b/app/assets/javascripts/kernel.js index 364f08a..2fd0035 100644 --- a/app/assets/javascripts/kernel.js +++ b/app/assets/javascripts/kernel.js @@ -16,7 +16,7 @@ $(document).ready(function() { function ajax_load_proc(wapper,url,isBanner){ $.get(encodeURI(url), {}, function(respText,textSta,XML){ if (textSta == 'success') { - if (respText.indexOf("") == -1) wapper.html(respText); + if (respText.indexOf('<meta charset="utf-8">') == -1) wapper.html(respText); }; if(textSta == 'error') wapper.html("Loading Failed<br/> <a href='"+$(this).attr('path')+"'>Go See</a>");