File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -1466,15 +1466,6 @@ function managePanZoomButton(evt) {
1466
1466
1467
1467
if ( obj . className . includes ( 'btn-view-watch' ) ) {
1468
1468
url = '?view=watch&mid=' + monitorId_ ;
1469
- } else if ( obj . className . includes ( 'btn-view-event' ) ) {
1470
- const eventInfo = getEventInfoFromEventsTable ( { what : 'current' , mid : monitorId_ } ) ;
1471
- const fid = frameCalculationByTime (
1472
- timeline . getCurrentTime ( ) ,
1473
- eventInfo . start ,
1474
- eventInfo . end ,
1475
- eventInfo . frames ,
1476
- ) ;
1477
- url = '?view=event&eid=' + eventInfo . eventId + '&fid=' + fid ;
1478
1469
} else if ( obj . className . includes ( 'btn-edit-monitor' ) ) {
1479
1470
url = '?view=monitor&mid=' + monitorId_ ;
1480
1471
} else if ( obj . className . includes ( 'btn-fullscreen' ) ) {
@@ -1513,7 +1504,7 @@ function initPageGeneral() {
1513
1504
} ) ;
1514
1505
1515
1506
// Support for touch devices.
1516
- "touchstart touchend touchcancel touchmove" . split ( " " ) . forEach ( function ( action ) {
1507
+ "touchstart touchend touchcancel touchmove" . split ( " " ) . forEach ( function ( action ) {
1517
1508
document . addEventListener ( action , function ( event ) {
1518
1509
handleTouchActionGeneral ( action , event ) ;
1519
1510
} , { passive : false } ) ; // false - to avoid an error "Unable to preventDefault inside passive event listener due to target being treated as passive."
You can’t perform that action at this time.
0 commit comments