Skip to content

Commit

Permalink
ToneOZ 澳聲通字典工具整合:加入滑鼠圈選查詢功能
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyxuan committed Jun 2, 2021
1 parent b7583ce commit d420723
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ime/zhdicui.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ function ZiHaiDicUI(){
}
}
} else if(selectedString){
phrases = [selectedString];
selectedString = selectedString.substr(0,intMaxPhrase-1);
let selectedArr = selectedString.split("");
if(selectedArr.length > 1){
selectedArr.unshift(selectedString);
}
phrases = selectedArr;
}
if(phrases != null){
isIframeReady = false;
Expand Down

0 comments on commit d420723

Please sign in to comment.