From 65d72b9bbaee47c08b36d39a79335eb45774548c Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 18 Aug 2020 10:50:46 +0200 Subject: [PATCH] Follow up - 9d3c0e3984dacecc38aca81ac7d95b0c2c76024c - Fixes #3040: CoffeeScript generates broken JS because of misplaced brackets. --- .../javascripts/app/controllers/ticket_zoom/article_new.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/article_new.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/article_new.coffee index 087455893..b40776355 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/article_new.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/article_new.coffee @@ -515,7 +515,7 @@ class App.TicketZoomArticleNew extends App.Controller options: duration: duration easing: 'easeOutQuad' - complete: => $(window).off 'click.ticket-zoom-textarea'.on 'click.ticket-zoom-textarea', @closeTextarea + complete: => $(window).off('click.ticket-zoom-textarea').on('click.ticket-zoom-textarea', @closeTextarea) @textBubble.velocity properties: