tiny sensors tab code polish

10.3.x-maintenance
cTn 2014-03-06 19:48:10 +01:00
parent 96d2bdbb12
commit 52559cf9ec
2 changed files with 1 additions and 4 deletions

View File

@ -51,7 +51,6 @@
</select> </select>
<div class="clear-both"></div> <div class="clear-both"></div>
<div id="baro"></div> <div id="baro"></div>
<select title="Debug refresh rate" name="debug_refresh_rate"> <select title="Debug refresh rate" name="debug_refresh_rate">
<option value="10">10 ms</option> <option value="10">10 ms</option>
<option value="20">20 ms</option> <option value="20">20 ms</option>
@ -68,5 +67,4 @@
<div id="debug2"></div> <div id="debug2"></div>
<div id="debug3"></div> <div id="debug3"></div>
<div id="debug4"></div> <div id="debug4"></div>
</div> </div>

View File

@ -327,8 +327,7 @@ function tab_initialize_sensors() {
}, rates.mag, true); }, rates.mag, true);
// store current/latest refresh rates in the storage // store current/latest refresh rates in the storage
chrome.storage.local.set({'sensor_refresh_rates': rates}, function() { chrome.storage.local.set({'sensor_refresh_rates': rates});
});
}); });
}); });
} }