mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
refactor(console) toString -> ''
This commit is contained in:
parent
4372f0ce0f
commit
70bc78373f
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
console.unbind('mouseup');
|
||||
console.mouseup(function() {
|
||||
var top,
|
||||
isSelection = window.getSelection().toString();
|
||||
isSelection = '' + window.getSelection();
|
||||
|
||||
if (!isSelection) {
|
||||
top = console.scrollTop();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue