Tweaking right-click on feeds and upping ratelimit.

This commit is contained in:
Samuel Clay 2012-08-31 13:20:25 -07:00
parent c7ca0f1544
commit c6ff2093c9
2 changed files with 3 additions and 1 deletions

View file

@ -175,7 +175,7 @@ def autologin(request, username, secret):
return HttpResponseRedirect(reverse('index') + next)
@ratelimit(minutes=1, requests=12)
@ratelimit(minutes=1, requests=24)
@never_cache
@json.json_view
def load_feeds(request):

View file

@ -224,6 +224,8 @@ NEWSBLUR.Views.FeedTitleView = Backbone.View.extend({
// ==========
open: function(e) {
e.preventDefault();
e.stopPropagation();
if (this.options.feed_chooser) return;
if (this.options.type != 'feed') return;
if (e.which >= 2) return;