Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 24, 2020. It is now read-only.

Commit 85dab26

Browse files
move notify to top right corner
1 parent f7865a7 commit 85dab26

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎static/js/index.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ $( document ).ready(() => {
33

44
socket.on('update', (new_data) => {
55
$.notify("New data arrived!", {
6-
position : 'top center',
76
className : 'info',
8-
autoHideDelay: 2000,
7+
autoHideDelay: 3000,
98
});
109

1110
$('#p-touches').text(new_data.touches);
@@ -15,7 +14,6 @@ $( document ).ready(() => {
1514

1615
socket.on('first_connected', (data) => {
1716
$.notify("Arduino connected!", {
18-
position : 'top center',
1917
className : 'success',
2018
});
2119

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /