random/repeat works again, better swipes
some ugly hacks, but it works now
This commit is contained in:
parent
63e0dda387
commit
bc4cd06faa
@ -351,13 +351,13 @@
|
||||
<!-- <a href="#" onclick="doShuffle(); return false" title="Shuffle"><img src="images/icons/fork_21x24.png"-->
|
||||
<!--id="shufflebt" alt=""/></a>-->
|
||||
|
||||
<p id="buttons">
|
||||
<a href="#" onclick="doRandom(); return false"><img src="images/icons/loop_alt2_16x14.png" alt="" id="randombt" /></a>
|
||||
<a href="#" onclick="doRepeat(); return false"><img src="images/icons/reload_12x14.png" id="repeatbt" alt="" /></a>
|
||||
<a href="#" onclick="doShuffle(); return false" title="Shuffle"><img src="images/icons/fork_21x24.png" id="shufflebt" alt="" /></a>
|
||||
</p>
|
||||
<p id="buttons"' style="float:right; margin-top: 20px; margin-right: 5px;">
|
||||
<a href="#" onclick="doRandom(); return false"><img src="images/icons/loop_alt2_16x14.png" alt="" id="randombt" /></a>
|
||||
<a href="#" onclick="doRepeat(); return false"><img src="images/icons/reload_12x14.png" id="repeatbt" alt="" /></a>
|
||||
<a href="#" onclick="doShuffle(); return false" title="Shuffle"><img src="images/icons/fork_21x24.png" id="shufflebt" alt="" /></a>
|
||||
</p>
|
||||
|
||||
<div class="nowPlayingControls">
|
||||
<div class="nowPlayingControls" style="float:left; margin-left: 5px;">
|
||||
<a href="#" onclick="doPrevious(); return false"><span id="btprev"><i class="fa fa-fast-backward"></i></span></a>
|
||||
<a href="#" onclick="doPlay(); return false"><span id="btplayNowPlaying"><i class="fa fa-play"></i></span></a>
|
||||
<a href="#" onclick="doNext(); return false"><span id="btnext"><i class="fa fa-fast-forward"></i></span></a>
|
||||
|
||||
@ -567,3 +567,8 @@ function locationHashChanged() {
|
||||
document.title = PROGRAM_NAME;
|
||||
return false;
|
||||
}
|
||||
|
||||
$(document).bind("mobileinit", function(){
|
||||
$.event.special.swipe.horizontalDistanceThreshold = 100; // (default: 30px) – Swipe horizontal displacement must be more than this.
|
||||
$.event.special.swipe.verticalDistanceThreshold = 100; // (default: 75px) – Swipe vertical displacement must be less than this.
|
||||
});
|
||||
Loading…
Reference in New Issue
Block a user