MCPcopy Create free account
hub / github.com/ActiveState/code / do_link_click

Function do_link_click

recipes/JavaScript/578517_Music_player/recipe-578517.js:950–964  ·  view source on GitHub ↗
(n, n_playlist)

Source from the content-addressed store, hash-verified

948}
949
950function do_link_click(n, n_playlist)
951{
952 if (g_busy_searching==false && g_busy_sorting==false)
953 {
954 exit_playlist();
955 g_user_choice=true;
956 g_user_play=true;
957 m_play_list_ptr=n_playlist;
958 if (m_play_list_ptr>=0)
959 {
960 highlight_playlist_item(m_play_list_ptr);
961 }
962 change_sound(n);
963 }
964}
965
966function highlight_playlist_item(n)
967{

Callers

nothing calls this directly

Calls 3

exit_playlistFunction · 0.85
highlight_playlist_itemFunction · 0.85
change_soundFunction · 0.85

Tested by

no test coverage detected