Эх сурвалжийг харах

[core] Allow undefined to be published with huePubSub

Johan Åhlén 10 жил өмнө
parent
commit
b003380

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/hue.utils.js

@@ -202,7 +202,7 @@ var huePubSub = (function () {
       }
 
       topics[topic].forEach(function (item) {
-        item(info != undefined ? info : {});
+        item(info);
       });
     }
   };