anchor.diff:            disable=false;
             $(this).focus();
           }
  -      }).keypress(function(event) {
  -        if (event.which == '13') {
  -          event.preventDefault();
  -            var form = $(this).parents('form');
  -            $(form).trigger('submit.rails');
  -            $(this).val('');
  -          }
  -        });
  +      }).blur(function (event) {
  +      if (!disable) {
  +        var form = $(this).parents('form');
  +        $(form).trigger('submit.rails');
  +        $('.saved_text').show(0).delay(3000).hide(0);
  +      }
  +    });
   
         // $('#js-keywords__container').click(function(){
         //   $('.js-keywords__input').focus();
  
positive.code:       // $('.js-keywords__input').blur(function(){
        //   $('#js-keywords__container').attr('class', 'c-keywords__container--has-blur');
        // });
    
    });
    </script>
negative.code: <div id="js-keywords__container" class="js-keywords_list c-keywords__container">
    <% subjects.each do |subject| %>
      <span class="c-keywords__keyword">
        <%= subject.subject %><span class="delete_keyword"><%=link_to '', stash_datacite.subjects_delete_path(subject.id, resource_id: resource_id), method: :delete, remote: true, class: 'c-keywords__keyword-remove' %></span>
      </span>
    <% end %>
    <%= text_field_tag('subject' , nil, { id: 'keyword', class: 'js-keywords__input c-keywords__input' }) %>
  