This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
9gag-lilik
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
slightly changed night time
master
edoardoo
10 years ago
parent
70daae8001
commit
23e34da5ca
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
main.js
+ 1
- 1
main.js
View File
@ -101,7 +101,7 @@ function isNightTime(){
var
nightHour
=
19
;
var
nightHour
=
19
;
var
date
=
new
Date
(
)
;
var
date
=
new
Date
(
)
;
var
hours
=
date
.
getHours
(
)
;
var
hours
=
date
.
getHours
(
)
;
if
(
hours
>
nightHour
)
if
(
hours
>
=
nightHour
)
return
true
;
return
true
;
else
else
return
false
;
return
false
;
Write
Preview
Loading…
Cancel
Save