To solve this, you should check for the rangeCount. And if rangeCount is not 0, you can fire window.getSelection().empty() or window.
確定! 回上一頁