Minor tweaks
This commit is contained in:
@ -559,9 +559,8 @@
|
||||
|
||||
fullscreen.isFullScreen = function(element) {
|
||||
if(typeof element == "undefined") {
|
||||
element = document;
|
||||
element = document.body;
|
||||
}
|
||||
|
||||
switch (this.prefix) {
|
||||
case "":
|
||||
return document.fullscreenElement == element;
|
||||
@ -572,6 +571,9 @@
|
||||
}
|
||||
};
|
||||
fullscreen.requestFullScreen = function(element) {
|
||||
if(typeof element == "undefined") {
|
||||
element = document.body;
|
||||
}
|
||||
return (this.prefix === "") ? element.requestFullScreen() : element[this.prefix + (this.prefix == "ms" ? "RequestFullscreen" : "RequestFullScreen")]();
|
||||
};
|
||||
fullscreen.cancelFullScreen = function() {
|
||||
|
@ -497,7 +497,7 @@
|
||||
// Volume control
|
||||
// <input[type='range']> element
|
||||
// Specificity is for bootstrap compatibility
|
||||
&-volume[type=range] {
|
||||
&-volume[type="range"] {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
-webkit-appearance: none;
|
||||
|
@ -495,7 +495,7 @@ $bp-captions-large: 768px !default; // When captions jump to the larger fo
|
||||
// Volume control
|
||||
// <input[type='range']> element
|
||||
// Specificity is for bootstrap compatibility
|
||||
&-volume[type=range] {
|
||||
&-volume[type="range"] {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
-webkit-appearance: none;
|
||||
|
Reference in New Issue
Block a user