diff --git a/front/src/components/ui/dialog.ts b/front/src/components/ui/dialog.ts index 365102d..f15f135 100644 --- a/front/src/components/ui/dialog.ts +++ b/front/src/components/ui/dialog.ts @@ -100,6 +100,10 @@ export default class UiDialog extends Vue { const isInWrapper = this.$parent.$options.name == 'portalTarget'; if (typeof this.reference === 'string') { + if (this.reference[0] === '#') { + return document.getElementById(this.reference.substr(1)); + } + if (this.refs) { return this.refs[this.reference]; } diff --git a/front/templates/main.html b/front/templates/main.html index 141a79c..ae6af29 100644 --- a/front/templates/main.html +++ b/front/templates/main.html @@ -7,7 +7,7 @@ Komunikaty {{ messages.count }} - - @@ -42,7 +42,7 @@ Odjazdy - - diff --git a/front/templates/picker/stop.html b/front/templates/picker/stop.html index 626dc17..21d1f2d 100644 --- a/front/templates/picker/stop.html +++ b/front/templates/picker/stop.html @@ -1,6 +1,6 @@
-
+