This commit is contained in:
BoHung Chiu 2023-07-07 11:48:08 +08:00
parent 1f6e75f5e3
commit 2449552ce0
1 changed files with 2 additions and 2 deletions

View File

@ -362,8 +362,8 @@ class AnnouncementsController < ApplicationController
}; };
}else{ }else{
var filter_attr = "'+filter_attr+'"; var filter_attr = "'+filter_attr+'";
wpexAnimsition.parent_block = wpexAnimsition.parent_block + ", [data-subpart-id=\"'+subpart.id.to_s+'\"]"; wpexAnimsition.parent_block = wpexAnimsition.parent_block + ",[data-subpart-id=\"'+subpart.id.to_s+'\"]";
wpexAnimsition.container_block = wpexAnimsition.container_block + ", [data-subpart-id=\"'+subpart.id.to_s+'\"] [data-list=\"announcements\"]:not(tbody)"; wpexAnimsition.container_block = wpexAnimsition.container_block + ",[data-subpart-id=\"'+subpart.id.to_s+'\"] [data-list=\"announcements\"]:not(tbody)";
if( wpexAnimsition.filter_attr.indexOf(filter_attr) == -1 ){ if( wpexAnimsition.filter_attr.indexOf(filter_attr) == -1 ){
wpexAnimsition.filter_attr += ("," + filter_attr); wpexAnimsition.filter_attr += ("," + filter_attr);
} }