From 1a59e6c4d98868a261b7be8d1c0991fbf5c3e8d8 Mon Sep 17 00:00:00 2001 From: Chris Done Date: Thu, 13 Nov 2014 22:34:48 +0100 Subject: [PATCH] Re-indentation (no semantic change) --- templates/package.julius | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/templates/package.julius b/templates/package.julius index 7aa2749..32e1dc4 100644 --- a/templates/package.julius +++ b/templates/package.julius @@ -72,23 +72,23 @@ $(function(){ data: {slug:normalized}, success: function(){ - $('.no-tags').remove(); + $('.no-tags').remove(); - $('#new-tag').val(''); - $('#add-form-btn').val('Confirm'); + $('#new-tag').val(''); + $('#add-form-btn').val('Confirm'); - if (!tags[normalized]) { - var tag = $(''); - tag.find('a').text(normalized); - $('.tags').prepend(', '); - $('.tags').prepend(tag); - } + if (!tags[normalized]) { + var tag = $(''); + tag.find('a').text(normalized); + $('.tags').prepend(', '); + $('.tags').prepend(tag); + } - tags[normalized] = true; - }, + tags[normalized] = true; + }, error: function(err){ $('#tag-msg').text('invalid slug; too short or too long').show(); - } + } }); } } finally {