소스 검색

Merge pull request #4787 from helioguardabaxo/master

Fix: changing list color reloads webpage
Lauri Ojansivu 2 년 전
부모
커밋
6d77172d54
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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();
         },
         },
       },
       },
     ];
     ];