mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
Restore compliments
This commit is contained in:
parent
d73e17af5a
commit
e0fd0cc6f0
@ -64,8 +64,8 @@ jQuery(document).ready(function($) {
|
|||||||
|
|
||||||
(function updateCompliment()
|
(function updateCompliment()
|
||||||
{
|
{
|
||||||
//var compliments = ['Hey, handsome!','Hi, sexy!','Hello, beauty!', 'You look sexy!', 'Wow, you look hot!'];
|
var compliments = ['Hey, handsome!','Hi, sexy!','Hello, beauty!', 'You look sexy!', 'Wow, you look hot!'];
|
||||||
var compliments = ['Testing ...', 'Please wait ...'];
|
//var compliments = ['Testing ...', 'Please wait ...'];
|
||||||
|
|
||||||
while (compliment == lastCompliment) {
|
while (compliment == lastCompliment) {
|
||||||
compliment = Math.floor(Math.random()*compliments.length);
|
compliment = Math.floor(Math.random()*compliments.length);
|
||||||
@ -148,4 +148,4 @@ jQuery(document).ready(function($) {
|
|||||||
}, 5500);
|
}, 5500);
|
||||||
})();
|
})();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user