get rid of black background in chrome fullscreen mode; dont update url in fullscreen mode, fixes #1910
This commit is contained in:
parent
42fa5a7a3c
commit
19ae3c591a
2 changed files with 5 additions and 3 deletions
|
@ -12,6 +12,8 @@ body.$themeClass:-ms-full-screen {
|
||||||
}
|
}
|
||||||
body.$themeClass:-webkit-full-screen {
|
body.$themeClass:-webkit-full-screen {
|
||||||
background-color: $bodyBackground;
|
background-color: $bodyBackground;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
.$themeClass a,
|
.$themeClass a,
|
||||||
.$themeClass .OxLink {
|
.$themeClass .OxLink {
|
||||||
|
|
|
@ -1006,7 +1006,7 @@ Ox.URL = function(options) {
|
||||||
@*/
|
@*/
|
||||||
that.pop = function() {
|
that.pop = function() {
|
||||||
if (self.previousURL) {
|
if (self.previousURL) {
|
||||||
history.pushState && history.pushState(
|
history.pushState && !Ox.Fullscreen.getState() && history.pushState(
|
||||||
{}, self.previousTitle, self.previousURL
|
{}, self.previousTitle, self.previousURL
|
||||||
);
|
);
|
||||||
document.title = self.previousTitle;
|
document.title = self.previousTitle;
|
||||||
|
@ -1040,7 +1040,7 @@ Ox.URL = function(options) {
|
||||||
+ document.location.search
|
+ document.location.search
|
||||||
+ document.location.hash;
|
+ document.location.hash;
|
||||||
if (url != self.previousURL) {
|
if (url != self.previousURL) {
|
||||||
history.pushState && history.pushState(
|
history.pushState && !Ox.Fullscreen.getState() && history.pushState(
|
||||||
Ox.extend(state, {title: title}), '', url
|
Ox.extend(state, {title: title}), '', url
|
||||||
);
|
);
|
||||||
document.title = title;
|
document.title = title;
|
||||||
|
@ -1070,7 +1070,7 @@ Ox.URL = function(options) {
|
||||||
replaceState(state, title, url);
|
replaceState(state, title, url);
|
||||||
}
|
}
|
||||||
function replaceState(state, title, url) {
|
function replaceState(state, title, url) {
|
||||||
history.replaceState && history.replaceState(
|
history.replaceState && !Ox.Fullscreen.getState() && history.replaceState(
|
||||||
Ox.extend(state, {title: title}), '', url
|
Ox.extend(state, {title: title}), '', url
|
||||||
);
|
);
|
||||||
document.title = title;
|
document.title = title;
|
||||||
|
|
Loading…
Reference in a new issue