Skip to content

Commit

Permalink
works in IE9
Browse files Browse the repository at this point in the history
  • Loading branch information
o.istomin committed Nov 10, 2015
1 parent a5440a1 commit 8416e15
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 14 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.2.18

#### Bug Fixes

- **oi-select:** correct works in IE9

## 0.2.17

#### Features
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#oi.select — AngularJS directive of select element

**[Download 0.2.17](https://github.com/tamtakoe/oi.select/tree/master/dist)**
**[Download 0.2.18](https://github.com/tamtakoe/oi.select/tree/master/dist)**

## Features

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "https://github.com/tamtakoe"
},
"name": "oi.select",
"version": "0.2.17",
"version": "0.2.18",
"main": ["./dist/select-tpls.min.js", "./dist/select.min.css"],
"dependencies": {
"angular": ">=1.2",
Expand Down
6 changes: 3 additions & 3 deletions dist/select-tpls.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ angular.module('oi.select')
saveTrigger: 'enter tab blur'
},
version: {
full: '0.2.17',
full: '0.2.18',
major: 0,
minor: 2,
dot: 17
dot: 18
},
$get: function() {
return {
Expand Down Expand Up @@ -60,7 +60,7 @@ angular.module('oi.select')
if (current === container) {
return false;
}
if (current.classList.contains(className)) {
if (current.className.indexOf(className) >= 0) {
return true;
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion dist/select-tpls.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ angular.module('oi.select')
saveTrigger: 'enter tab blur'
},
version: {
full: '0.2.17',
full: '0.2.18',
major: 0,
minor: 2,
dot: 17
dot: 18
},
$get: function() {
return {
Expand Down Expand Up @@ -60,7 +60,7 @@ angular.module('oi.select')
if (current === container) {
return false;
}
if (current.classList.contains(className)) {
if (current.className.indexOf(className) >= 0) {
return true;
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion dist/select.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "oi.select",
"license": "MIT",
"version": "0.2.17",
"version": "0.2.18",
"repository": {
"type": "git",
"url": "git://github.com/tamtakoe/oi.select.git"
Expand Down
6 changes: 3 additions & 3 deletions src/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ angular.module('oi.select')
saveTrigger: 'enter tab blur'
},
version: {
full: '0.2.17',
full: '0.2.18',
major: 0,
minor: 2,
dot: 17
dot: 18
},
$get: function() {
return {
Expand Down Expand Up @@ -59,7 +59,7 @@ angular.module('oi.select')
if (current === container) {
return false;
}
if (current.classList.contains(className)) {
if (current.className.indexOf(className) >= 0) { //current.classList.contains(className) doesn't work in IE9
return true;
}
} else {
Expand Down

0 comments on commit 8416e15

Please sign in to comment.