lib/flipper/ui/public/js/application.js in flipper-ui-0.17.2 vs lib/flipper/ui/public/js/application.js in flipper-ui-0.18.0
- old
+ new
@@ -1,6 +1,6 @@
-(function() {
- $(function() {
- return $('[data-toggle="tooltip"]').tooltip();
+$(function() {
+ $(document).on('click', '.js-toggle-trigger', function() {
+ var $container = $(this).closest('.js-toggle-container');
+ return $container.toggleClass('toggle-on');
});
-
-}).call(this);
+});