Skip to content

Commit

Permalink
Fix ie8 polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
tihonove committed Sep 13, 2017
1 parent ef614c8 commit 01f8acc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v0.2.10
* [Fix] Mistype in HTMLElement polyfill

v0.2.7
* [Fix] Корректная работа валидация для `DatePicker` (#12)
* [Fix] Исправлена проблема производительности для некоторых случаев (thx to @mr146)
Expand Down
2 changes: 1 addition & 1 deletion src/Behaviour/ValidationWrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import isEqual from "lodash.isequal";
import ReactUiDetection from "../ReactUiDetection";
import smoothScrollIntoView from "./smoothScrollIntoView";

if (typeof HTMLElement !== "undefined") {
if (typeof HTMLElement === "undefined") {
window.HTMLElement = window.Element;
}

Expand Down

0 comments on commit 01f8acc

Please sign in to comment.