Sha256: a2b3ee8677de46878015eb53a7bdfc5b78edfc505ef6766f1a1675091a761ad8

Contents?: true

Size: 245 Bytes

Versions: 10

Compression:

Stored size: 245 Bytes

Contents

$(document).ready(function() {

  neutral = $("div.neutral").find("<%= by_url %>").parent();

  neutral.find("span.error").remove();

  $("<span class='error'><%= t('errors.cannot_change') %></span>").appendTo(neutral).delay(4000).hide(0);

});

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
neutral-0.0.10 app/views/neutral/votes/errors/cannot_change.js.erb
neutral-0.0.9 app/views/neutral/votes/errors/cannot_change.js.erb
neutral-0.0.8 app/views/neutral/votes/errors/cannot_change.js.erb
neutral-0.0.7 app/views/neutral/votes/errors/cannot_change.js.erb
neutral-0.0.6 app/views/neutral/votes/errors/cannot_change.js.erb
neutral-0.0.5 app/views/neutral/votes/errors/cannot_change.js.erb
neutral-0.0.4 app/views/neutral/votes/errors/cannot_change.js.erb
neutral-0.0.3 app/views/neutral/votes/errors/cannot_change.js.erb
neutral-0.0.2 app/views/neutral/votes/errors/cannot_change.js.erb
neutral-0.0.1 app/views/neutral/votes/errors/cannot_change.js.erb