Merge pull request #5669 from dtreiter/master
Fix Github links to specific lines on jsdoc pages
This commit is contained in:
@@ -88,7 +88,7 @@ $(function () {
|
||||
var link = 'https://github.com/openlayers/ol3/blob/v' + currentVersion + '/' +
|
||||
textParts[0];
|
||||
el.innerHTML = '<a href="' + link + '">' + textParts[0] + '</a>, ' +
|
||||
'<a href="' + link + textParts[1].replace('line ', '#l') + '">' +
|
||||
'<a href="' + link + textParts[1].replace('line ', '#L') + '">' +
|
||||
textParts[1] + '</a>';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user