Skip to content

Commit 9dd6583

Browse files
committed
Add tooltip for tag displaying tag seperator
1 parent 36d0a82 commit 9dd6583

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

app/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
<h2 class="ui header">
2424
<i class="idea icon"></i>Logs
2525
<div class="ui right floated basic button add" ng-click="logCtrl.addFn()">
26-
Add <i class="plus icon"></i>
26+
<i class="plus icon"></i>
27+
Add
2728
</div>
2829
</h2>
2930
<div class="ui divider"></div>
@@ -69,7 +70,7 @@ <h2 class="ui header">
6970
</div>
7071

7172
<div id="tags">
72-
<div class="ui right labeled left icon input">
73+
<div class="ui right labeled left icon input" data-title="Tags" data-html="tag seperator: <span style='color: green;'>comma( , )</span>">
7374
<i class="tags icon"></i>
7475
<input type="text" placeholder="Tags" class="tags" ng-model="logs[logSelectedIndex].tags"/>
7576
<div class="ui basic left pointing blue label">

app/js/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,13 @@ $(function() {
66
$('.add').click(function() {
77
$('.title').focus();
88
});
9+
10+
$('.ui.input')
11+
.popup({
12+
position: 'bottom left',
13+
delay: {
14+
show: 100
15+
}
16+
})
17+
;
918
});

0 commit comments

Comments
 (0)