Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dateinput/dateinput.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
currDay = date.getDate();

// focus the input after selection (doesn't work in IE)
if (e.type == "click" && !$.browser.msie) {
if (e.type == "click" && !/msie/.test(navigator.userAgent.toLowerCase())) {
input.focus();
}

Expand Down
4 changes: 2 additions & 2 deletions src/tooltip/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
fade: [
function(done) {
var conf = this.getConf();
if (!$.browser.msie || conf.fadeIE) {
if (!/msie/.test(navigator.userAgent.toLowerCase()) || conf.fadeIE) {
this.getTip().fadeTo(conf.fadeInSpeed, conf.opacity, done);
}
else {
Expand All @@ -79,7 +79,7 @@
},
function(done) {
var conf = this.getConf();
if (!$.browser.msie || conf.fadeIE) {
if (!/msie/.test(navigator.userAgent.toLowerCase()) || conf.fadeIE) {
this.getTip().fadeOut(conf.fadeOutSpeed, done);
}
else {
Expand Down
2 changes: 1 addition & 1 deletion src/tooltip/tooltip.slide.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
slideOffset: 10,
slideInSpeed: 200,
slideOutSpeed: 200,
slideFade: !$.browser.msie
slideFade: !/msie/.test(navigator.userAgent.toLowerCase())
});

// directions for slide effect
Expand Down