From d67bae2005388c0265275639c22bfb93792fed28 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 2 Nov 2015 14:18:25 +0100 Subject: [PATCH] resize table: rename destroy to release (method) --- .../app/controllers/_application_controller_table.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller_table.coffee b/app/assets/javascripts/app/controllers/_application_controller_table.coffee index 3c3a580d0..0aef456b8 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_table.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_table.coffee @@ -27,7 +27,7 @@ class App.ControllerTable extends App.Controller @render() $(window).on 'resize.table', @onResize - destroy: => + release: => $(window).off 'resize.table', @onResize render: =>