mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-27 23:56:18 +00:00
[a11y] file view: added support for 'keyboard access' & bugfix for 'internal link'
This commit is contained in:
@@ -194,11 +194,9 @@ class FileToolbar extends React.Component {
|
||||
</DropdownItem>
|
||||
)}
|
||||
{filePerm == 'rw' && (
|
||||
<DropdownItem>
|
||||
<a href={`${siteRoot}repo/file_revisions/${repoID}/?p=${encodeURIComponent(filePath)}&referer=${encodeURIComponent(location.href)}`} className="text-inherit">
|
||||
<a href={`${siteRoot}repo/file_revisions/${repoID}/?p=${encodeURIComponent(filePath)}&referer=${encodeURIComponent(location.href)}`} className="dropdown-item">
|
||||
{gettext('History')}
|
||||
</a>
|
||||
</DropdownItem>
|
||||
)}
|
||||
</DropdownMenu>
|
||||
</ButtonDropdown>
|
||||
|
Reference in New Issue
Block a user