Repair test submission on Enter key

This commit is contained in:
Gaël Métais
2014-12-20 18:43:11 +01:00
parent 4cca167fc1
commit 95a5f5063e
+4 -3
View File
@@ -1,4 +1,5 @@
<h2 class="promess">Free online test to help speeding up <b>heavy</b> web pages</h2>
<input type="text"ng-model="url" placeholder="http://www.mysite.com" class="url" />
<input type="submit" value="Launch test" class="launchBtn" ng-click="launchTest()" ng-class="{disabled: !url}" />
<p>(This is a BETA, your feedback is more than welcome)</p>
<form ng-submit="launchTest()" >
<input type="text"ng-model="url" placeholder="http://www.mysite.com" class="url" />
<input type="submit" value="Launch test" class="launchBtn" ng-class="{disabled: !url}" />
</form>