js/main.js
changeset 0 4869aea77e21
child 7 3ed6f90e97d9
equal deleted inserted replaced
-1:000000000000 0:4869aea77e21
       
     1 function route(url) {
       
     2     window.location.href = url;
       
     3 }
       
     4 
       
     5 $(document).ready(function () {
       
     6     $('.clickable').click(function () {
       
     7         var tidStr = $(this).attr('id');
       
     8         var tid = tidStr.substring(3);
       
     9 
       
    10         window.location.href = "/tickets/?tid=" + tid;
       
    11     });
       
    12 
       
    13     tinymce.init({selector: 'textarea'});
       
    14 });