File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ Extension.prototype = {
416416 lockRole : function ( roleProvider ) {
417417 if ( this . meta && this . meta . role ) {
418418 let meta_role_list_str = this . meta . role ;
419- let meta_roles = meta_role_list_str . replace ( " " , "" ) . split ( "," ) ;
419+ let meta_roles = meta_role_list_str . replaceAll ( " " , "" ) . split ( "," ) ;
420420
421421 let avail_roles = [ ] ;
422422
@@ -449,7 +449,7 @@ Extension.prototype = {
449449 unlockRoles : function ( ) {
450450 if ( this . meta . role ) {
451451 let meta_role_list_str = this . meta . role ;
452- let meta_roles = meta_role_list_str . replace ( " " , "" ) . split ( "," ) ;
452+ let meta_roles = meta_role_list_str . replaceAll ( " " , "" ) . split ( "," ) ;
453453
454454 for ( let role of meta_roles ) {
455455 if ( Type [ this . upperType ] . roles [ role ] === this . uuid ) {
You can’t perform that action at this time.
0 commit comments