Skip to content
Permalink
Browse files

Update to jQuery 3 (#5433)

* Update to jQuery 3

* Add CHANGELOG

* Use prop instead of attr
  • Loading branch information...
oriolgual committed Oct 25, 2019
1 parent 585e889 commit 7e254f40e6ce5d2b98fe958caf02c4ef38750544
@@ -2,7 +2,6 @@

## [Unreleased](https://github.com/decidim/decidim/tree/HEAD)


**Added**:

- **decidim-consultations**: Create groups of responses in multi-choices question consultations. [\#5387](https://github.com/decidim/decidim/pull/5387)
@@ -13,6 +12,7 @@
**Changed**:

- **decidim-initiatives**: UX improvements to initiatives [#5369](https://github.com/decidim/decidim/pull/5369)
- **decidim-core**: Update to JQuery 3 [#5433](https://github.com/decidim/decidim/pull/5433)

**Fixed**:

@@ -1,4 +1,4 @@
// = require jquery
// = require jquery3
// = require foundation
// = require rails-ujs
// = require ./tab_focus
@@ -1,6 +1,6 @@
/* eslint-disable react/jsx-no-undef */

// = require jquery
// = require jquery3
// = require decidim/api/react
// = require decidim/api/react-dom
// = require decidim/api/graphql-docs
@@ -11,7 +11,7 @@ $(document).ready(function () {
max += 1;
}
if (max < 0) {
$(this).attr("checked", false);
$(this).prop("checked", false);
event.preventDefault();
}
else {
@@ -1,5 +1,5 @@
// = require decidim/core/bundle.js
// = require jquery
// = require jquery3
// = require rails-ujs
// = require decidim/foundation
// = require modernizr
@@ -1,4 +1,4 @@
// = require jquery
// = require jquery3
// = require foundation
// = require rails-ujs
// = require decidim/editor
@@ -1,4 +1,4 @@
// = require jquery
// = require jquery_ujs
// = require jquery3
// = require rails-ujs
// = require decidim
// = require_tree ./vizzs

0 comments on commit 7e254f4

Please sign in to comment.
You can’t perform that action at this time.