mirror of
https://github.com/openstf/stf
synced 2025-10-06 03:50:04 +02:00
Merge pull request #186 from openstf/fix-184
Fix https://github.com/openstf/stf/issues/184
This commit is contained in:
commit
75a5db240a
1 changed files with 0 additions and 2 deletions
|
@ -383,7 +383,6 @@ module.exports = function DeviceScreenDirective(
|
|||
'letterboxed', parentAspect < canvasAspect)
|
||||
}
|
||||
|
||||
$window.addEventListener('beforeunload', stop, false)
|
||||
$window.addEventListener('resize', resizeListener, false)
|
||||
scope.$on('fa-pane-resize', resizeListener)
|
||||
|
||||
|
@ -391,7 +390,6 @@ module.exports = function DeviceScreenDirective(
|
|||
|
||||
scope.$on('$destroy', function() {
|
||||
stop()
|
||||
$window.removeEventListener('beforeunload', stop, false)
|
||||
$window.removeEventListener('resize', resizeListener, false)
|
||||
})
|
||||
})()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue