1
0
mirror of synced 2025-12-09 07:08:17 +08:00

Fix: Settings range

This commit is contained in:
surunzi
2017-10-01 19:05:52 +08:00
parent 2c4b4db26b
commit 6c2c67fba1
2 changed files with 5 additions and 4 deletions

View File

@@ -109,14 +109,14 @@ export default class Settings extends Tool
let $this = util.$(this),
$container = $this.parent(),
idx = $container.data('idx'),
val = $this.val(),
val = +$this.val(),
setting = self._settings[idx];
setting.config.set(setting.key, val);
}).on('input', '.eruda-range input', function ()
{
let $this = util.$(this),
val = $this.val();
val = +$this.val();
$this.parent().parent().find('.eruda-head span').text(val);
});

View File

@@ -68,8 +68,9 @@
position: relative;
top: 0px;
z-index: 1;
width: 15px;
height: 15px;
width: 16px;
border: none;
height: 16px;
border-radius: 10px;
background-color: #FFF;
box-shadow: $box-shadow;