Renamed global profile selector to avoid collisions with #pid-tuning

10.3.x-maintenance
NightHawk32 2015-11-23 17:00:05 -05:00
parent 11fcf24258
commit 0aefcd5959
2 changed files with 3 additions and 3 deletions

View File

@ -138,13 +138,13 @@
</ul>
<div id="profile_change">
<div class="dropdown dropdown-dark">
<form name="pid-tuning" id="pid-tuning">
<form name="profile-change" id="profile-change">
<select class="dropdown-select" name="profilechange">
<option value="0">Profile 1</option>
<option value="1">Profile 2</option>
<option value="2">Profile 3</option>
</select>
</form>
</form>
</div>
</div>
</div>

View File

@ -403,7 +403,7 @@ TABS.pid_tuning.initialize = function (callback) {
MSP.send_message(MSP_codes.MSP_EEPROM_WRITE, false, false, function () {
GUI.log(chrome.i18n.getMessage('pidTuningEepromSaved'));
});
//TABS.pid_tuning.initialize();
TABS.pid_tuning.initialize();
});
} else {
send_pids();