- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
function arraySearch(arr,val) {
for (var i=0; i<arr.length; i++){
if (arr[i] == val) {
return i;
}
}
return 100;
}
if(parseInt(arraySearch(all_moods_images, change_smth)) != 100)
{
current_mood = change_smth;
what_i_have_changed = "mood";
}
else if(parseInt(arraySearch(all_energetics_images, change_smth)) != 100)
{
current_energetic = change_smth;
what_i_have_changed = "energy";
}
Комментарии (0) RSS
Добавить комментарий