Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
uncloud
files_readmemd
Commits
36d7cf7d
Commit
36d7cf7d
authored
Mar 21, 2020
by
Matthieu Le Corre
Browse files
Fix filename display
Signed-off-by:
Matthieu Le Corre
<
matthieu.lecorre@univ-nantes.fr
>
parent
9deaebfc
Changes
2
Hide whitespace changes
Inline
Side-by-side
css/style.css
View file @
36d7cf7d
...
...
@@ -11,7 +11,7 @@
}
.readmemd
::before
{
content
:
"README.md"
!important
;
content
:
attr
(
data-filename
)
!important
;
color
:
silver
;
}
...
...
src/main.js
View file @
36d7cf7d
...
...
@@ -278,6 +278,7 @@ OCA.ReadmeMD.App = {
if
(
this
.
footer
.
filename
!==
null
)
{
this
.
footer
.
container
.
removeClass
(
"
hidden
"
)
;
$
(
this
.
footer
.
container
).
attr
(
'
data-filename
'
,
this
.
footer
.
filename
);
this
.
fillContainer
(
this
.
footer
)
;
if
(
this
.
auto_refresh
==
"
true
"
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment