This commit is contained in:
Nolan Lawson 2018-01-08 17:23:33 -08:00
parent e7e17f3899
commit 59e84ee830
1 changed files with 1 additions and 4 deletions

View File

@ -37,9 +37,6 @@
display: block; display: block;
margin: 20px 5px; margin: 20px 5px;
} }
</style> </style>
<script> <script>
import Layout from '../_components/Layout.html'; import Layout from '../_components/Layout.html';
@ -81,7 +78,7 @@
this.store.save() this.store.save()
goto('/') goto('/')
}, },
handleSubmit: async function(event) { onSubmit: async function(event) {
event.preventDefault() event.preventDefault()
let instanceName = this.store.get('instanceNameInSearch') let instanceName = this.store.get('instanceNameInSearch')
instanceName = instanceName.replace(/^https?:\/\//, '').replace('/$', '') instanceName = instanceName.replace(/^https?:\/\//, '').replace('/$', '')