From 8216e1f7147017293a6efa834d97bdc45963eece Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Tue, 16 Apr 2013 06:18:52 +0200 Subject: [PATCH] Fix infinite loop when switching from the filter tab in the settings. MAXIMUM OVER RUSTLE --- CHANGELOG.md | 2 ++ lib/$.coffee | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b63f3a3c6..a47985f78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +- Fix Chrome freezing when switching from the `Filter` tab to another tab in the settings. + ### 3.1.2 - *2013-04-16* - Fix error with successful posting. diff --git a/lib/$.coffee b/lib/$.coffee index 46befcb64..67b57c0ff 100644 --- a/lib/$.coffee +++ b/lib/$.coffee @@ -104,7 +104,8 @@ $.extend $, rmAll: (root) -> # jsperf.com/emptify-element while node = root.firstChild - $.rm node + # HTMLSelectElement.remove !== Element.remove + root.removeChild node return tn: (s) -> d.createTextNode s