js/main.js
changeset 7 3ed6f90e97d9
parent 0 4869aea77e21
child 43 682bd6e707ef
--- a/js/main.js
+++ b/js/main.js
@@ -3,12 +3,5 @@
 }
 
 $(document).ready(function () {
-    $('.clickable').click(function () {
-        var tidStr = $(this).attr('id');
-        var tid = tidStr.substring(3);
-
-        window.location.href = "/tickets/?tid=" + tid;
-    });
-
-    tinymce.init({selector: 'textarea'});
+    tinymce.init({selector: '.tiny-mce textarea'});
 });
\ No newline at end of file