fix square root of 0

This commit is contained in:
Chris Cromer 2020-06-10 11:26:17 -04:00
parent 141b108fd5
commit 88714e3a1d
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A
2 changed files with 4 additions and 4 deletions

View File

@ -152,11 +152,11 @@
</tr>
</table>
<div class="credits">
<b>JVON Web</b><br/>
<b>JVON Web 1.1.2</b><br/>
{{strings.credits_description}}&nbsp;<b>{{strings.credits_john}}</b><br/>
{{strings.credits_cromer}}<br/>
Ingeniería Civil en Informática, Universidad del Bío Bío, 2015<br/>
<a target="_blank" href="jvon-1.1.1.apk">Version android</a>
Ingeniería Civil en Informática, Universidad del Bío Bío, 2015-2020<br/>
<!--<a target="_blank" href="jvon-1.1.1.apk">Version android</a>-->
</div>
</body>
</html>

View File

@ -678,7 +678,7 @@ document.addEventListener('DOMContentLoaded', function () {
var syntax = $scope.check_syntax(value);
var sqr;
if (syntax.type == "blank") {
if ($scope.ac == "") {
if (typeof $scope.ac != 'number') {
alert($scope.strings.error_ac);
$scope.stop_code();
}