Skip to content

Commit

Permalink
issue/2459 force disabled old ios fixes in framework once installed (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster authored Jul 16, 2019
1 parent 22de728 commit e685597
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ contains values for three types of answers: **correct**, **_incorrect**, and **_
No known limitations.

----------------------------
**Version number:** 3.0.0 <a href="https://community.adaptlearning.org/" target="_blank"><img src="https://github.com/adaptlearning/documentation/blob/master/04_wiki_assets/plug-ins/images/adapt-logo-mrgn-lft.jpg" alt="adapt learning logo" align="right"></a>
**Version number:** 3.0.1 <a href="https://community.adaptlearning.org/" target="_blank"><img src="https://github.com/adaptlearning/documentation/blob/master/04_wiki_assets/plug-ins/images/adapt-logo-mrgn-lft.jpg" alt="adapt learning logo" align="right"></a>
**Framework versions:** 2.0.16+
**Author / maintainer:** Adapt Core Team with [contributors](https://github.com/adaptlearning/adapt-contrib-matching/graphs/contributors)
**Accessibility support:** WAI AA
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adapt-contrib-matching",
"version": "3.0.0",
"version": "3.0.1",
"framework": ">=2.0.16",
"homepage": "https://github.com/adaptlearning/adapt-contrib-matching",
"issues": "https://github.com/adaptlearning/adapt_framework/issues/new",
Expand Down
6 changes: 6 additions & 0 deletions js/adapt-contrib-matching.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ define([
'./matchingModel'
], function(Adapt, MatchingView, MatchingModel) {

// Force disable old iOS fixes in v2 frameworks
// https://github.com/adaptlearning/adapt_framework/issues/2459
if ($.a11y && $.a11y.options && $.a11y.options.isIOSFixesEnabled) {
$.a11y.options.isIOSFixesEnabled = false;
}

return Adapt.register("matching", {
view: MatchingView,
model: MatchingModel
Expand Down

0 comments on commit e685597

Please sign in to comment.