Created
September 3, 2014 07:52
-
-
Save kennethjohnbalgos/5b0726c0ff51a2342465 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
:javascript | |
var switchTo5x=true; | |
var isFirefox = typeof InstallTrigger !== 'undefined'; | |
var isChromium = window.chrome, | |
vendorName = window.navigator.vendor; | |
var isChromeActive = (isChromium !== null && isChromium !== undefined && vendorName === "Google Inc."); | |
<<<<<<< HEAD | |
var ua = window.navigator.userAgent; | |
var msie = ua.indexOf("MSIE "); | |
var isOldIE = (msie > 0); | |
var isNewIE = (!!navigator.userAgent.match(/Trident.*rv\:11\./)); | |
if(isFirefox || isChromeActive || isOldIE || isNewIE){ | |
======= | |
if(isFirefox || isChromeActive){ | |
>>>>>>> a840383... LMS-266 - Fix template forcing reducing image, LMS-265 - cut extra space in show slide, LMS-263 - Add standalone open templates for ckeditor in slides, Fix font awesome for google chrome | |
$("head").append("<link>"); | |
var css = $("head").children(":last"); | |
css.attr({ | |
rel: "stylesheet", | |
type: "text/css", | |
href: "http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment