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>");