|
|
|
@ -1703,7 +1703,7 @@ function EasyMDE(options) {
|
|
|
|
|
if (!styleSheets[i].href)
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
if (styleSheets[i].href.indexOf('//maxcdn.bootstrapcdn.com/font-awesome/') > -1) {
|
|
|
|
|
if (styleSheets[i].href.indexOf('//cdnjs.cloudflare.com/ajax/libs/font-awesome/') > -1) {
|
|
|
|
|
autoDownloadFA = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -1712,7 +1712,7 @@ function EasyMDE(options) {
|
|
|
|
|
if (autoDownloadFA) {
|
|
|
|
|
var link = document.createElement('link');
|
|
|
|
|
link.rel = 'stylesheet';
|
|
|
|
|
link.href = 'https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css';
|
|
|
|
|
link.href = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/fontawesome.min.css';
|
|
|
|
|
document.getElementsByTagName('head')[0].appendChild(link);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|