I'm using CurvyCorners to make my corners curvy in IE, only thing is that when it reads the CSS it takes all the webkit properties and shows me an alert curvyCorners.alert("No object with ID " + arg + " exists yet.\nCall curvyCorners(settings, obj) when it is created.");
.
How can I just set this if statement to do nothing?
if (j === null)
do nothing(); //but in real script
Thanks :)
Do you have access to the code? If so, you can add this code to the start of the curvyCorners function definition:
if (!obj) return;
This will quit the curvyCorners function silently if the element doesn't exist.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With