diff --git a/public/react/src/modules/tpm/TPMBanner.js b/public/react/src/modules/tpm/TPMBanner.js index b5059cf34..8a3b9761f 100644 --- a/public/react/src/modules/tpm/TPMBanner.js +++ b/public/react/src/modules/tpm/TPMBanner.js @@ -471,7 +471,22 @@ class TPMBanner extends Component { }) } - render() { + + showonMouseOver=()=>{ + $("#ratePanel").show(); + this.setState({ + showradios:true + }) + } + + hideonMouseOut=()=>{ + $("#ratePanel").hide(); + this.setState({ + showradios:false + }) + } + + render() { let { Forkvisible, Senttothetype, @@ -541,21 +556,6 @@ class TPMBanner extends Component { // } // } // } - - - - $("#commentsStar").hover(()=>{ - $("#ratePanel").show(); - this.setState({ - showradios:true - }) - },()=>{ - $("#ratePanel").hide(); - this.setState({ - showradios:false - }) - }) - const radioStyle = { display: 'block', height: '30px', @@ -617,12 +617,12 @@ class TPMBanner extends Component { -