Do not stop TTS on page load
Readers might want to listen and browse, which this made impossible.
This commit is contained in:
parent
9e727533dd
commit
b8fefa3471
2
js/application.min.js
vendored
2
js/application.min.js
vendored
File diff suppressed because one or more lines are too long
@ -43,9 +43,6 @@ if (!fcn_isLoggedIn && !fcn_isAjaxAuth) {
|
||||
});
|
||||
}
|
||||
|
||||
// Terminate ongoing text-to-speech when page is reloaded
|
||||
if (typeof speechSynthesis !== 'undefined') window.speechSynthesis.cancel();
|
||||
|
||||
// Remove query args (defined in _theme_setup.php)
|
||||
if (typeof fcn_removeQueryArgs === 'function') {
|
||||
fcn_removeQueryArgs();
|
||||
|
Loading…
x
Reference in New Issue
Block a user