Przeglądaj źródła

Fix: changing list color reloads webpage

helioguardabaxo 2 lat temu
rodzic
commit
209d946f94
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      client/components/lists/listHeader.js

+ 2 - 2
client/components/lists/listHeader.js

@@ -309,11 +309,11 @@ BlazeComponent.extendComponent({
         },
         },
         'click .js-submit'() {
         'click .js-submit'() {
           this.currentList.setColor(this.currentColor.get());
           this.currentList.setColor(this.currentColor.get());
-          Popup.back();
+          Popup.close();
         },
         },
         'click .js-remove-color'() {
         'click .js-remove-color'() {
           this.currentList.setColor(null);
           this.currentList.setColor(null);
-          Popup.back();
+          Popup.close();
         },
         },
       },
       },
     ];
     ];