[Glitch] Fix media modal link button
Port ba745ca99a to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
			
			
This commit is contained in:
		@@ -139,17 +139,9 @@ export default class IconButton extends React.PureComponent {
 | 
			
		||||
      </React.Fragment>
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    if (href) {
 | 
			
		||||
      return (
 | 
			
		||||
        <a
 | 
			
		||||
          href={href}
 | 
			
		||||
          aria-label={title}
 | 
			
		||||
          title={title}
 | 
			
		||||
          target='_blank'
 | 
			
		||||
          rel='noopener noreferrer'
 | 
			
		||||
          className={classes}
 | 
			
		||||
          style={style}
 | 
			
		||||
        >
 | 
			
		||||
    if (href && !this.prop) {
 | 
			
		||||
      contents = (
 | 
			
		||||
        <a href={href} target='_blank' rel='noopener noreferrer'>
 | 
			
		||||
          {contents}
 | 
			
		||||
        </a>
 | 
			
		||||
      );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user