mirror of
https://github.com/gitpitch/gitpitch.git
synced 2024-04-18 07:30:55 +08:00
Simplified menu/slide-title injection.
This commit is contained in:
parent
a4868adff2
commit
0e30652b72
|
@ -113,11 +113,7 @@ public class CodeService {
|
|||
|
||||
if(slideTitle != null) {
|
||||
slide = slide.append(MarkdownModel.MD_SPACER)
|
||||
.append("<span class='menu-title' style='display: none'>")
|
||||
.append(slideTitle)
|
||||
.append("</span>")
|
||||
.append(MarkdownModel.MD_SPACER)
|
||||
.append("<span class='slide-title'>")
|
||||
.append("<span class='menu-title slide-title'>")
|
||||
.append(slideTitle)
|
||||
.append("</span>")
|
||||
.append(MarkdownModel.MD_SPACER);
|
||||
|
|
|
@ -135,11 +135,7 @@ public class GISTService {
|
|||
if(slideTitle != null) {
|
||||
|
||||
slide = slide.append(MarkdownModel.MD_SPACER)
|
||||
.append("<span class='menu-title' style='display: none'>")
|
||||
.append(slideTitle)
|
||||
.append("</span>")
|
||||
.append(MarkdownModel.MD_SPACER)
|
||||
.append("<span class='slide-title'>")
|
||||
.append("<span class='menu-title slide-title'>")
|
||||
.append(slideTitle)
|
||||
.append("</span>")
|
||||
.append(MarkdownModel.MD_SPACER);
|
||||
|
|
Loading…
Reference in New Issue
Block a user