Commit 87ff7cf8 authored by Matthieu Le Corre's avatar Matthieu Le Corre
Browse files
parent 2a558d8f
This diff is collapsed.
This diff is collapsed.
......@@ -44,6 +44,8 @@ OCA.ReadmeMD.App = {
this.appReady = false ;
this.appVisible = true ;
//public share or private view
this.mode = mode ;
......@@ -124,7 +126,7 @@ OCA.ReadmeMD.App = {
} ;
} else {
//mode show
if ($(mutation.target).hasClass("hidden")) {
if ($(mutation.target).hasClass("hidden") && window.location.search.indexOf("view") == -1 ) {
if (self.header.content !== null ) {
self.header.container.removeClass("hidden") ;
} ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment