scripts/ajax.js
changeset 21 74edc873234f
parent 18 69af47034212
child 22 3a4f0cd0794e
equal deleted inserted replaced
20:bb8237ca678d 21:74edc873234f
   185         
   185         
   186         // set page title
   186         // set page title
   187         updateTitle(response.current_track_artist, response.current_track_album, response.current_track_title);
   187         updateTitle(response.current_track_artist, response.current_track_album, response.current_track_title);
   188         
   188         
   189         // if not playing, set the position slider to zero
   189         // if not playing, set the position slider to zero
   190         if ( !is_playing )
   190         if ( !is_playing && !response.is_paused )
   191         {
   191         {
   192           posslide_set_position(0);
   192           posslide_set_position(0);
   193         }
   193         }
   194         
   194         
   195         // set advance timer
   195         // set advance timer