diff options
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -538,8 +538,7 @@ function qafAdd() { if (link.value.length == 0) { alert("Error: No feed URL given."); - } else if (link.value.match("http://") == null && - link.value.match("https://") == null) { + } else if (!isValidURL(link.value)) { alert("Error: Invalid feed URL."); } else { notify("Adding feed..."); |