From 70bc78373f27c0e3ebc6081fdf5d6bf412df498f Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 20 Jan 2014 03:26:17 -0500 Subject: [PATCH] refactor(console) toString -> '' --- lib/client/console.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/console.js b/lib/client/console.js index eed58fd0..6c29aa15 100644 --- a/lib/client/console.js +++ b/lib/client/console.js @@ -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();