From de6375c469af716c92c307c68033a3cba6f3953a Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Fri, 19 May 2017 08:24:39 +1200 Subject: [PATCH] Use current URL port as default mopidy port, fixes #98 --- src/js/bootstrap.js | 3 +-- src/scss/components/_lists.scss | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/js/bootstrap.js b/src/js/bootstrap.js index 2bee3123..a04e836a 100755 --- a/src/js/bootstrap.js +++ b/src/js/bootstrap.js @@ -28,14 +28,13 @@ var initialState = { mopidy: { connected: false, host: window.location.hostname, - port: 6680, + port: (window.location.port ? window.location.port : '80'), volume: 0, progress: 0, play_state: false }, pusher: { connected: false, - port: 6681, username: 'Anonymous', connections: {}, version: { diff --git a/src/scss/components/_lists.scss b/src/scss/components/_lists.scss index 543853ce..1259f57d 100755 --- a/src/scss/components/_lists.scss +++ b/src/scss/components/_lists.scss @@ -2,7 +2,6 @@ .list { .list-item { @include clearfix; - @include animate(0.1s); -webkit-touch-callout: none; -webkit-user-select: none;