The fullscreen toggle option plugin was discussed here.
It does what I want, but the "on/off" designation seems to get messed up very easily. It doesn't change from ON to OFF or vice versa the first time I press the button.
I turned off all other plugins and the problem persists.
I started a new project using only this plugin, and it has the same problem.
Images below for what I see.
Edit: Looks like someone found a fix for this issue after all, discussed in the comments here.
Add the code found here to the end of the plugin, but before the very last part of the code here.
My understanding is that
needs to be the last line of the plugin.
This worked for me.
It does what I want, but the "on/off" designation seems to get messed up very easily. It doesn't change from ON to OFF or vice versa the first time I press the button.
I turned off all other plugins and the problem persists.
I started a new project using only this plugin, and it has the same problem.
Images below for what I see.
Edit: Looks like someone found a fix for this issue after all, discussed in the comments here.
Add the code found here to the end of the plugin, but before the very last part of the code here.
My understanding is that
Code:
})();
This worked for me.