Skip to content
Snippets Groups Projects
Commit 30b7e7b5 authored by bwbohl's avatar bwbohl Committed by Peter Stadler
Browse files

getLinkTarget: getWorkTitle – remove if clause already covered

parent 90e603d3
Branches
Tags
No related merge requests found
......@@ -161,9 +161,6 @@ declare function local:getWindowTitle($doc as node()+, $type as xs:string) as xs
(: will fail for MEI v3 or older :)
eutil:getLocalizedTitle(($doc//mei:work)[1], $lang)
else if (exists($doc/root()/mei:work)) then
(eutil:getLocalizedTitle($doc/root()/mei:work, $lang))
(: Recording :)
else if (exists($doc//mei:mei) and exists($doc//mei:recording)) then
(eutil:getLocalizedTitle($doc//mei:fileDesc/mei:titleStmt[1], $lang))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment