mirror of
https://github.com/MatMoul/quickdial-webext.git
synced 2024-12-23 07:26:11 +00:00
Add startpage timeout settings
This commit is contained in:
parent
cc1006042d
commit
941772844a
@ -68,6 +68,10 @@
|
||||
<td><input id="ButtonOpenInNewPage" type="checkbox"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Startpage timeout :</td>
|
||||
<td><input id="StartupTimeout" type="number"></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
@ -246,4 +250,4 @@
|
||||
<button id="BtnCancel">Cancel</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
1577
src/js/background.js
1577
src/js/background.js
File diff suppressed because it is too large
Load Diff
@ -28,6 +28,7 @@ app.init = function(){
|
||||
BackgroundPreview.style.backgroundRepeat = 'no-repeat';
|
||||
BackgroundPreview.style.backgroundSize = '100% 100%';
|
||||
ButtonOpenInNewPage.checked = app.settings.openQuickDialInNewPage;
|
||||
StartupTimeout.value = app.settings.startpageTimeout;
|
||||
GridRoot.value = app.settings.grid.root;
|
||||
GridRows.value = app.settings.grid.rows;
|
||||
GridRatioX.value = app.settings.grid.ratioX;
|
||||
@ -88,6 +89,7 @@ app.init = function(){
|
||||
app.settings.backgroundImage = BackgroundImage;
|
||||
app.settings.backgroundMode = +(BackgroundMode.value);
|
||||
app.settings.openQuickDialInNewPage = ButtonOpenInNewPage.checked;
|
||||
app.settings.startpageTimeout = StartupTimeout.value;
|
||||
app.settings.grid.rows = +(GridRows.value);
|
||||
app.settings.grid.margin = +(GridMargins.value);
|
||||
app.settings.grid.columns = +(GridColumns.value);
|
||||
|
Loading…
Reference in New Issue
Block a user