We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks a lot for a brilliant Super Theme Switcher , (Sorry, new to this, so if I forked or did anything wrong, please help enlighten me)
I have taken me the freedom to modify it a little, adding another callback called onchoose , as onselect is called both if called onload, or onclick
onchoose is called only onCiick , ie when the user have actively selected a different theme.
I needed this to do some other refresh of frames and stuff, not needed when called onload.
If you like it, please add to next release, if not, the please toss away
main Change function updateTheme(data, clicked){ if( settings.onselect !== null ) settings.onselect(); //Added this: if( settings.onchoose !== null && clicked ) settings.onchoose(); see https://github.com/ftlie/Super-Theme-Switcher (forkeds
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks a lot for a brilliant Super Theme Switcher ,
(Sorry, new to this, so if I forked or did anything wrong, please help enlighten me)
I have taken me the freedom to modify it a little, adding another callback called onchoose , as onselect is called both if called onload, or onclick
onchoose is called only onCiick , ie when the user have actively selected a different theme.
I needed this to do some other refresh of frames and stuff, not needed when called onload.
If you like it, please add to next release, if not, the please toss away
main Change
function updateTheme(data, clicked){
if( settings.onselect !== null )
settings.onselect();
//Added this:
if( settings.onchoose !== null && clicked )
settings.onchoose();
see
https://github.com/ftlie/Super-Theme-Switcher (forkeds
The text was updated successfully, but these errors were encountered: