Commit fb133c75 authored by yPhil's avatar yPhil
Browse files

Real-time v-resizing of feedBody from feedPrefs

parent fdc27e4b
......@@ -105,6 +105,7 @@ PTL.dialog = {
var $dialog = $(this),
$dataStore = $button.parent().parent(),
$feed = $dataStore.parent().parent(),
$feedBody = $dataStore.parent().next('div.feed-body'),
allGroups = PTL.tab.list('all'),
$thisGroup = $feed.parent().parent(),
$groupMenu = $dialog.find('select#feedGroup');
......@@ -309,6 +310,7 @@ PTL.dialog = {
slide: function( event, ui ) {
$(this).val(ui.value);
$(this).find('.ui-slider-handle').text(ui.value);
$feedBody.css('height', ui.value + 'px');
$('input#feedLimitSpinner').val(ui.value);
},
change: function( event, ui ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment