aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/static/js/feed.js32
1 files changed, 15 insertions, 17 deletions
diff --git a/web/static/js/feed.js b/web/static/js/feed.js
index a2347286..ceef58fc 100644
--- a/web/static/js/feed.js
+++ b/web/static/js/feed.js
@@ -1,22 +1,20 @@
$('.container').on('click', '#add-feed-filter-row', function() {
$('#filters-container').append(
- '<div class="form-inline">'
- + ' <div class="form-group">'
- + ' <input value="-" type="button" class="form-control del-feed-filter-row" />'
- + ' <select name="type" class="form-control">'
- + ' <option value="simple match" selected>simple match</option>'
- + ' <option value="regex">regex</option>'
- + ' </select>'
- + ' <input type="text" class="form-control" name="pattern" />'
- + ' <select name="action_on" class="form-control">'
- + ' <option value="match" selected>match</option>'
- + ' <option value="no match">no match</option>'
- + ' </select>'
- + ' <select name="action" class="form-control">'
- + ' <option value="mark as read" selected>mark as read</option>'
- + ' <option value="mark as favorite">mark as favorite</option>'
- + ' </select>'
- + ' </div>'
+ '<div class="form-group">'
+ + ' <input value="-" type="button" class="form-control del-feed-filter-row" />'
+ + ' <select name="type" class="form-control">'
+ + ' <option value="simple match" selected>simple match</option>'
+ + ' <option value="regex">regex</option>'
+ + ' </select>'
+ + ' <input type="text" class="form-control" name="pattern" />'
+ + ' <select name="action_on" class="form-control">'
+ + ' <option value="match" selected>match</option>'
+ + ' <option value="no match">no match</option>'
+ + ' </select>'
+ + ' <select name="action" class="form-control">'
+ + ' <option value="mark as read" selected>mark as read</option>'
+ + ' <option value="mark as favorite">mark as favorite</option>'
+ + ' </select>'
+ '</div>');
});
$('.container').on('click', '.del-feed-filter-row', function() {
bgstack15