Added test for undefined text
SVN revision: 1927
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
function getSelection(text)
|
||||
{
|
||||
if (typeof text == 'undefined')
|
||||
return "";
|
||||
if (browser == 'MSIE') {
|
||||
sel = document.selection;
|
||||
rng = sel.createRange();
|
||||
|
||||
Reference in New Issue
Block a user