-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue in the Microsoft Edge browser, where it sometimes crashed.
- Loading branch information
1 parent
5f37560
commit 760ba2d
Showing
3 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/**@preserve | ||
* Sudo Slider version 3.4.2 - jQuery plugin | ||
* Sudo Slider version 3.4.4 - jQuery plugin | ||
* Written by Erik Krogh Kristensen [email protected]. | ||
* http://webbies.dk/SudoSlider/ | ||
* | ||
|
@@ -1646,7 +1646,11 @@ | |
} | ||
|
||
function fixClearType(element) { | ||
if (screen.fontSmoothingEnabled && element.style) element.style.removeAttribute("filter"); // Fix cleartype | ||
if (screen.fontSmoothingEnabled && element.style) { | ||
try { | ||
element.style.removeAttribute("filter"); // Fix cleartype | ||
} catch (ignored) { } | ||
} | ||
} | ||
|
||
/* | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters