diff options
Diffstat (limited to 'static/js/posts.js')
-rw-r--r-- | static/js/posts.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/static/js/posts.js b/static/js/posts.js index 9b8a743..455e7ea 100644 --- a/static/js/posts.js +++ b/static/js/posts.js @@ -357,10 +357,3 @@ function stripTransferProtocol(value){ var re = /(https:\/\/|http:\/\/)?(www.)?/; return value.replace(re, ""); } - -function isOnion(value){ - var re = /\.onion/; - if(value.match(re) != null) - return true; - return false; -} |