From 8c4fbdc727427c3e2fe320aa7a6a0ecd72a72116 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 4 Apr 2014 14:42:38 +0100 Subject: [PATCH] Remove pointless defensive test. --- src/mkws-widget-termlists.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mkws-widget-termlists.js b/src/mkws-widget-termlists.js index 66b8a4d..b9e7b11 100644 --- a/src/mkws-widget-termlists.js +++ b/src/mkws-widget-termlists.js @@ -3,11 +3,6 @@ mkws.registerWidgetType('Termlists', function() { var M = mkws.M; this.team.queue("termlists").subscribe(function(data) { - if (!that.node) { - alert("termlists event when there are no termlists"); - return; - } - // no facets: this should never happen var facets = that.config.facets; if (!facets || facets.length == 0) { -- 1.7.10.4