Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function disableCssOnEdge(){
- var sAgent = window.navigator.userAgent;
- var Idx = sAgent.indexOf("MSIE");
- // If IE, return version number.
- if (Idx > 0
- || !!navigator.userAgent.match(/Trident\/7\./)
- || window.navigator.userAgent.indexOf("Edge") > -1) {
- $('.footer-main').css({
- top: 0,
- marginBottom: 0
- });
- $('#map').css('height', '400px')
- }
- }
- disableCssOnEdge();
Add Comment
Please, Sign In to add comment