diff --git a/platypush/backend/http/static/js/application.js b/platypush/backend/http/static/js/application.js index 76b231d2d6..ac2bf62031 100644 --- a/platypush/backend/http/static/js/application.js +++ b/platypush/backend/http/static/js/application.js @@ -24,6 +24,11 @@ window.vm = new Vue({ }, created: function() { + m = window.location.href.match('/#([a-zA-Z0-9._]+)$'); + if (m) { + this.selectedPlugin = m[1]; + } + const self = this; setInterval(() => { self.now = new Date(); diff --git a/platypush/backend/http/templates/plugins/media/index.html b/platypush/backend/http/templates/plugins/media/index.html index a88eedd7c4..61889906a4 100644 --- a/platypush/backend/http/templates/plugins/media/index.html +++ b/platypush/backend/http/templates/plugins/media/index.html @@ -14,7 +14,7 @@ {% endif %} {% endfor %} -