diff options
-rw-r--r-- | src/styles/main.scss | 9 | ||||
-rw-r--r-- | src/templates/playlist.template.html | 5 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss index ab40398..afba538 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -6,6 +6,13 @@ html { height: 100%; background-size: cover; -webkit-overflow-scrolling: touch; + user-select: none; +} + +img { + user-select: none !important; + touch-action: none; + pointer-events: none; } body { @@ -28,4 +35,4 @@ body { background: white; font-size: 1.5rem; } -}
\ No newline at end of file +} diff --git a/src/templates/playlist.template.html b/src/templates/playlist.template.html index d01f0d6..ece1734 100644 --- a/src/templates/playlist.template.html +++ b/src/templates/playlist.template.html @@ -1,7 +1,6 @@ <div class="list-group"> {{ #playlist }} - <a href="#" - class="list-group-item list-group-item-action {{ #isPlaying }}active{{ /isPlaying }}" + <a class="list-group-item list-group-item-action {{ #isPlaying }}active{{ /isPlaying }}" onclick="player.play({{index}})"> <h6> {{ title }} @@ -12,4 +11,4 @@ </small> </a> {{ /playlist }} -</div>
\ No newline at end of file +</div> |