diff --git a/config/jsdoc/api/template/static/scripts/main.js b/config/jsdoc/api/template/static/scripts/main.js index 16dc04f9fe..4da2f0e998 100644 --- a/config/jsdoc/api/template/static/scripts/main.js +++ b/config/jsdoc/api/template/static/scripts/main.js @@ -85,7 +85,7 @@ $(function () { var srcLinks = $('div.tag-source'); srcLinks.each(function(i, el) { var textParts = el.innerHTML.trim().split(', '); - var link = 'https://github.com/openlayers/ol3/blob/' + currentVersion + '/' + + var link = 'https://github.com/openlayers/ol3/blob/v' + currentVersion + '/' + textParts[0]; el.innerHTML = '' + textParts[0] + ', ' + '' +