Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
by Jinqn 目录大纲demo ie6、7的报错
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Dec 24, 2013
1 parent bc5716f commit 74a5e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _examples/sectiondemo.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <h1>目录大纲demo</h1>
function getSubStr(s,l){
var i=0,len=0;
for(i;i<s.length;i++){
if(s[i].match(/[^\x00-\xff]/g)!=null){
if(s.charAt(i).match(/[^\x00-\xff]/g)!=null){
len+=2;
}else{
len++;
Expand Down

0 comments on commit 74a5e97

Please sign in to comment.