change "Loop in New Tab" to only loop the video
This commit is contained in:
parent
70ad4dd289
commit
5bbb0b9897
@ -209,7 +209,7 @@ Config =
|
||||
]
|
||||
'Loop in New Tab': [
|
||||
true
|
||||
'Loop videos opened in their own tabs, and apply settings for inline expanded videos to them.'
|
||||
'Loop videos opened in their own tabs.'
|
||||
]
|
||||
|
||||
'Menu':
|
||||
|
||||
@ -56,10 +56,7 @@ Main =
|
||||
filename: pathname[pathname.length - 1]
|
||||
Redirect.navigate URL
|
||||
else if Conf['Loop in New Tab'] and video = $ 'video'
|
||||
Video.configure video
|
||||
$.on video, 'click', ->
|
||||
if !video.controls
|
||||
if video.paused then video.play() else video.pause()
|
||||
video.loop = true
|
||||
return
|
||||
|
||||
if Conf['Normalize URL'] and g.VIEW is 'thread'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user