Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
change js function name
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykenedy committed Jul 17, 2017
1 parent 7394400 commit dd214e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ The current features are :

* [Laravel 5.1, 5.2, 5.3, 5.4 or newer](https://laravel.com/docs/installation)


## Installation

1. From your projects root folder in terminal run:
Expand Down
4 changes: 2 additions & 2 deletions src/Views/environment-wizard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<label for="environment">
{{ trans('installer_messages.environment.wizard.form.app_environment_label') }}
</label>
<select name="environment" id="environment" onchange='CheckColors(this.value);'>
<select name="environment" id="environment" onchange='checkEnvironment(this.value);'>
<option value="local" selected>{{ trans('installer_messages.environment.wizard.form.app_environment_label_local') }}</option>
<option value="development">{{ trans('installer_messages.environment.wizard.form.app_environment_label_developement') }}</option>
<option value="qa">{{ trans('installer_messages.environment.wizard.form.app_environment_label_qa') }}</option>
Expand Down Expand Up @@ -505,7 +505,7 @@

@section('scripts')
<script type="text/javascript">
function CheckColors(val) {
function checkEnvironment(val) {
var element=document.getElementById('environment_text_input');
if(val=='other') {
element.style.display='block';
Expand Down

0 comments on commit dd214e0

Please sign in to comment.