]> git.agnieray.net Git - galette.git/commitdiff
Fix variable name, drop debug code
authorJohan Cwiklinski <johan@x-tnd.be>
Sun, 14 Jun 2020 20:49:32 +0000 (22:49 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Sun, 14 Jun 2020 20:49:32 +0000 (22:49 +0200)
galette/webroot/js/common.js

index 2ed7b7bc64065505077e4f102bf834b0ce680986..8cd53538f7bd92a0fd2bbab70661e76169b916b1 100644 (file)
@@ -251,8 +251,7 @@ $(function() {
         event.preventDefault();
         var _this = $(this);
         var _open = _this.attr('aria-expanded');
-        _this.attr('aria-expanded', !open);
-        console.log(_open);
+        _this.attr('aria-expanded', !_open);
         _langs.toggle();
     });
 });