Commit 5c4d0723fb8977e29f0e208e6d3c609933281cec
Exists in
staging
and in
7 other branches
Merge branch 'stable' of gitlab.com:participa/noosfero into stable
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
public/javascripts/article-lead-and-body.js
| 1 | jQuery(function($) { | 1 | jQuery(function($) { |
| 2 | + $(".lead-button").die('click'); | ||
| 2 | $(".lead-button").live('click', function(){ | 3 | $(".lead-button").live('click', function(){ |
| 3 | article_id = this.getAttribute("article_id"); | 4 | article_id = this.getAttribute("article_id"); |
| 4 | $(this).toggleClass('icon-add').toggleClass('icon-remove'); | 5 | $(this).toggleClass('icon-add').toggleClass('icon-remove'); |