File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,8 @@ export class MyCookieSandbox {
208208 fontSize : "12px" ,
209209 padding : "4px" ,
210210 cursor : "pointer" ,
211- backgroundColor : "#c518ae" ,
211+ backgroundColor : "#4CAF50" ,
212+ background : "#4CAF50" ,
212213 color : "black" ,
213214 border : "none" ,
214215 borderRadius : "5px" ,
@@ -220,12 +221,14 @@ export class MyCookieSandbox {
220221 button . addEventListener ( "mouseover" , function ( ) {
221222 if ( ! button . disabled ) {
222223 button . style . backgroundColor = "#45a049" ;
224+ button . style . background = "#45a049" ;
223225 }
224226 } ) ;
225227
226228 button . addEventListener ( "mouseout" , function ( ) {
227229 if ( ! button . disabled ) {
228230 button . style . backgroundColor = "#4CAF50" ;
231+ button . style . background = "#4CAF50" ;
229232 }
230233 } ) ;
231234
You can’t perform that action at this time.
0 commit comments