workaround for django ticket 17111; cover in api fix
[wolnelektury.git] / wolnelektury / static / js / base.js
index 7c02f03..32cdd70 100755 (executable)
@@ -101,7 +101,7 @@ $('.open-player').click(function(event) {
     event.preventDefault();
     window.open($(this).attr('href'),
         'player',
-        'width=420, height=500'
+        'width=422, height=500'
         );
 });
 
@@ -114,6 +114,8 @@ $('.open-player').click(function(event) {
             return false;
         });
 
+       $('.hoverclick').click(function() {$(this).closest('.hoverget').toggleClass('hover');});
+
        $(function(){
            $("#search").search();});