tiny sensors tab code polish
parent
96d2bdbb12
commit
52559cf9ec
|
@ -51,7 +51,6 @@
|
|||
</select>
|
||||
<div class="clear-both"></div>
|
||||
<div id="baro"></div>
|
||||
|
||||
<select title="Debug refresh rate" name="debug_refresh_rate">
|
||||
<option value="10">10 ms</option>
|
||||
<option value="20">20 ms</option>
|
||||
|
@ -68,5 +67,4 @@
|
|||
<div id="debug2"></div>
|
||||
<div id="debug3"></div>
|
||||
<div id="debug4"></div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -327,8 +327,7 @@ function tab_initialize_sensors() {
|
|||
}, rates.mag, true);
|
||||
|
||||
// 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});
|
||||
});
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue