Fix hearts
[wolnelektury.git] / src / wolnelektury / static / js / main.js
index 2feb7b8..c82516b 100644 (file)
                 },
                 error: function(e) {
                     if (e.status == 403) {
-                        $('#login-link').click();
+                        window.location.href = $('#login-link').attr('href')
                     }
                 },
             });