summaryrefslogtreecommitdiff
path: root/plugins/LinkPreview/linkpreview.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/LinkPreview/linkpreview.js')
-rw-r--r--plugins/LinkPreview/linkpreview.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/LinkPreview/linkpreview.js b/plugins/LinkPreview/linkpreview.js
new file mode 100644
index 000000000..37710e7d5
--- /dev/null
+++ b/plugins/LinkPreview/linkpreview.js
@@ -0,0 +1,10 @@
+/**
+ * (c) 2010 StatusNet, Inc.
+ */
+
+$(function() {
+ $('#notice_data-text').change(function() {
+ var text = $(this).val();
+ alert(text);
+ });
+});