diff options
Diffstat (limited to 'simplyread.js')
-rwxr-xr-x | simplyread.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/simplyread.js b/simplyread.js index 832b3c2..699a0c1 100755 --- a/simplyread.js +++ b/simplyread.js @@ -49,10 +49,7 @@ function simplyread() } } - if (biggest_num == 0) { - alert("Can't find any content"); - return 1; - } + if (biggest_num == 0) return 1; /* save and sanitise content of chosen tag */ var fresh = doc.createElement("div"); |