mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-17 11:10:57 +01:00
Anchors for line numbers in blob view. Fixes #125
This commit is contained in:
@@ -13,7 +13,10 @@ $(function () {
|
||||
matchBrackets: true,
|
||||
lineWrapping: true,
|
||||
readOnly: true,
|
||||
mode: mode
|
||||
mode: mode,
|
||||
lineNumberFormatter: function(ln) {
|
||||
return '<a name="L'+ ln +'"></a><a href="#L'+ ln +'">'+ ln +'</a>';
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user