|
|
@@ -1,9 +1,8 @@
|
|
|
function initCheck() {
|
|
|
- event = document.createEvent('MessageEvent');
|
|
|
- var origin = window.location.protocol + '//' + window.location.host;
|
|
|
- event.initMessageEvent ('setvideoposition', true, true, getVideoPosition(), origin, 1234, window, null);
|
|
|
- document.dispatchEvent (event);
|
|
|
-
|
|
|
+ event = document.createEvent('MessageEvent');
|
|
|
+ var origin = window.location.protocol + '//' + window.location.host;
|
|
|
+ event.initMessageEvent('setvideoposition', true, true, getVideoPosition(), origin, 1234, window, null);
|
|
|
+ document.dispatchEvent(event);
|
|
|
|
|
|
|
|
|
// 仅选择日期
|
|
|
@@ -359,5 +358,5 @@ function getVideoPosition() {
|
|
|
var Y = $('#tabcontent').offset().left;
|
|
|
var width = $('#tabcontent').width();
|
|
|
var height = $('#tabcontent').height();
|
|
|
- return parseInt(Y) + "|" + parseInt(X)+ "|" +parseInt(width)+ "|" + parseInt(height);
|
|
|
+ return parseInt(Y) + "|" + parseInt(X) + "|" + parseInt(width) + "|" + parseInt(height);
|
|
|
}
|