apply yflory's safari patch
This commit is contained in:
parent
0373556475
commit
a3cd100c94
@ -630,6 +630,11 @@ define([
|
|||||||
if (!APP.isMaximized) {
|
if (!APP.isMaximized) {
|
||||||
editor.execCommand('maximize');
|
editor.execCommand('maximize');
|
||||||
APP.isMaximized = true;
|
APP.isMaximized = true;
|
||||||
|
// We have to call it 3 times in Safari in order to have the editor fully maximized -_-
|
||||||
|
if ((''+window.navigator.vendor).indexOf('Apple') !== -1) {
|
||||||
|
editor.execCommand('maximize');
|
||||||
|
editor.execCommand('maximize');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.patchText = TextPatcher.create({
|
module.patchText = TextPatcher.create({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user