Skip to content

Commit

Permalink
Update iframe.js again
Browse files Browse the repository at this point in the history
  • Loading branch information
samuellouf committed Aug 11, 2023
1 parent dd99dba commit 5bb4ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/SamuelLouf/iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@
if (args.effect == 'opacity'){
this.setEffectOniFrame({effect: 'opacity', value: Number(this.getEffectOniFrame({effect: 'opacity'}).replace('%', '')) + args.value});
} else {
set_css_filter_of('iframe#iFrame-extension.samuellouf', args.effect, geoi_value+(args.value * if_then_return_else_return(args.effect == 'hue-rotate', 1.8, if_then_return_else_return(args.effect == 'blur', 0.2, 1))) + if_then_return_else_return(args.effect == 'hue-rotate', 'deg', if_then_return_else_return(args.effect == 'blur', 'px', '%')));
set_css_filter_of('iframe#iFrame-extension.samuellouf', args.effect, geoi_value + (args.value * if_then_return_else_return(args.effect == 'hue-rotate', 1.8, if_then_return_else_return(args.effect == 'blur', 0.2, 1))) + if_then_return_else_return(args.effect == 'hue-rotate', 'deg', if_then_return_else_return(args.effect == 'blur', 'px', '%')));
}
}

Expand Down

0 comments on commit 5bb4ce5

Please sign in to comment.