aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PreviewCursor.tsx
diff options
context:
space:
mode:
authormonikahedman <monika_hedman@brown.edu>2019-08-23 16:40:52 -0400
committermonikahedman <monika_hedman@brown.edu>2019-08-23 16:40:52 -0400
commite138dc74aaff258e9598d65244c85f1ab0c5fb17 (patch)
tree264b78adae65cc7d06f3a15027b3f7e4007634d9 /src/client/views/PreviewCursor.tsx
parented7f9a9cd3255f7b774268cfda35685ddacfe2e9 (diff)
parentbdb132d92eafc43f04bf6f002b8082d233ccafc3 (diff)
pulled from master
Diffstat (limited to 'src/client/views/PreviewCursor.tsx')
-rw-r--r--src/client/views/PreviewCursor.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PreviewCursor.tsx b/src/client/views/PreviewCursor.tsx
index 9ec31d67d..1329dc02c 100644
--- a/src/client/views/PreviewCursor.tsx
+++ b/src/client/views/PreviewCursor.tsx
@@ -49,7 +49,7 @@ export class PreviewCursor extends React.Component<{}> {
}
// tests for URL and makes web document
- let re: any = /^https?:\/\/www\./g;
+ let re: any = /^https?:\/\//g;
if (re.test(e.clipboardData.getData("text/plain"))) {
const url = e.clipboardData.getData("text/plain");
PreviewCursor._addDocument(Docs.Create.WebDocument(url, {