Skip to content

Commit

Permalink
Display download link if no video
Browse files Browse the repository at this point in the history
  • Loading branch information
exebetche committed Nov 11, 2014
1 parent d21f11d commit 497a1dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vlsub.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1667,7 +1667,8 @@ function download_subtitles()

local item = openSub.itemStore[index]

if openSub.option.downloadBehaviour == 'manual' then
if openSub.option.downloadBehaviour == 'manual'
or not openSub.file.hasInput then
local link = "<span style='color:#181'>"
link = link.."<b>"..lang["mess_dowload_link"]..":</b>"
link = link.."</span> &nbsp;"
Expand Down

0 comments on commit 497a1dd

Please sign in to comment.