From acc900cb633712deabf66afe26544f7c34c145b2 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 25 Nov 2013 09:05:16 +0100 Subject: Small code improvement --- program/js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/js/list.js') diff --git a/program/js/list.js b/program/js/list.js index 6f54dd77c..e3a38ba7f 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -1565,7 +1565,7 @@ add_dragfix: function() */ del_dragfix: function() { - $('div.iframe-dragdrop-fix').each(function() { this.parentNode.removeChild(this); }); + $('div.iframe-dragdrop-fix').remove(); }, -- cgit v1.2.3