Skip to content

Commit 59bc01b

Browse files
author
lorderikir
committed
[UI][UX][P] fixed tour.js bug, where first point is not on logo
1 parent 0d21850 commit 59bc01b

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Temporary Items
5151

5252
# Node modules and build folder
5353
node_modules
54-
build
54+
build/*
5555
working
5656

5757
# Vim

build/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<span class="icon-bar"></span>
6262
<span class="icon-bar"></span>
6363
</button>
64-
<a class="navbar-brand">
64+
<a class="navbar-brand" id="logo">
6565
<img src="images/logo.png" style="height:100%" alt="logo">
6666
</a>
6767
</div>

build/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<span class="icon-bar"></span>
6262
<span class="icon-bar"></span>
6363
</button>
64-
<a class="navbar-brand">
64+
<a class="navbar-brand" id="logo">
6565
<img src="images/logo.png" style="height:100%" alt="logo">
6666
</a>
6767
</div>
@@ -354,7 +354,7 @@ <h4>Input Value</h4>
354354
<h4 class="modal-title">MARIE.js | <i class="fa fa-hashtag"></i> Current Version</h4>
355355
</div>
356356
<div class="modal-body">
357-
<p>This version of <strong>MARIE.js</strong>is: v1.0.12</p>
357+
<p>This version of <strong>MARIE.js</strong> is: v1.0.12</p>
358358
</div>
359359
</div>
360360
</div>

src/js/tour.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ $(document).ready(function() {
1212
onEnd: viewHome,
1313
steps: [
1414
{
15-
onShow: viewHome,
1615
smartPlacement: true,
1716
backdrop: false,
18-
element: "#brand",
17+
element: "#logo",
1918
title: "Welcome to MARIE.js",
2019
content: "This tour introduces the features and how to use MARIE.js"
2120
},

src/templates/partials/nav.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<span class="icon-bar"></span>
1010
<span class="icon-bar"></span>
1111
</button>
12-
<a class="navbar-brand">
12+
<a class="navbar-brand" id="logo">
1313
<img src="images/logo.png" style="height:100%" alt="logo">
1414
</a>
1515
</div>

0 commit comments

Comments
 (0)