aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-12-17 07:58:02 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-12-17 07:58:02 +0100
commitfc75e28946750804fcdbee9ea432545c15bfe03d (patch)
treec16f5739461df432fd595c1271ec82ec6f8534c4
parentRemoved useless tabulation. (diff)
downloadnewspipe-fc75e28946750804fcdbee9ea432545c15bfe03d.tar.gz
newspipe-fc75e28946750804fcdbee9ea432545c15bfe03d.tar.bz2
newspipe-fc75e28946750804fcdbee9ea432545c15bfe03d.zip
Removed useless div tag.
-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