change "Loop in New Tab" to only loop the video

This commit is contained in:
ccd0 2014-07-13 13:37:15 -07:00
parent 70ad4dd289
commit 5bbb0b9897
2 changed files with 2 additions and 5 deletions

View File

@ -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':

View File

@ -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'