I'm trying to put a button to change overlayed view to fullscreen, and another one from overlayed to fullscreen without using HTML redirection.
Tried to use converse.api.settings.update
but it does not work, looks like it's not rendering the page with view_mode
variable updated.
Tried with the next code in a function, and even added this.render()
, but not working:
converse.initialize({
view_mode: 'fullscreen'
});
_converse.api.settings.update({
view_mode: 'fullscreen'
});