Steven Smith revised this gist . Go to revision
1 file changed, 3 deletions
irccloud-lotsafish.js
| @@ -7,9 +7,6 @@ if (window.getSelection) { | |||
| 7 | 7 | } else { | |
| 8 | 8 | text = cb().getName(); | |
| 9 | 9 | } | |
| 10 | - | if (!text) { | |
| 11 | - | text = "everyone"; | |
| 12 | - | } | |
| 13 | 10 | Array.prototype.randomElement = function () { | |
| 14 | 11 | return this[Math.floor(Math.random() * this.length)] | |
| 15 | 12 | } | |
Steven Smith revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
irccloud-lotsafish.js
| @@ -5,7 +5,7 @@ if (window.getSelection) { | |||
| 5 | 5 | } else if (document.selection && document.selection.type != "Control") { | |
| 6 | 6 | text = document.selection.createRange().text; | |
| 7 | 7 | } else { | |
| 8 | - | text = prompt("Enter username", "everyone"); | |
| 8 | + | text = cb().getName(); | |
| 9 | 9 | } | |
| 10 | 10 | if (!text) { | |
| 11 | 11 | text = "everyone"; | |
Steven Smith revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
irccloud-lotsafish.js
Diff is too large to be shown
Steven Smith revised this gist . Go to revision
1 file changed, 18 insertions
irccloud-lotsafish.js(file created)
Diff is too large to be shown