Skip to content
Snippets Groups Projects
Commit 5306c50c authored by mpukhliak's avatar mpukhliak
Browse files

SSDM-9520 add default favicon in ELN

parent 56db46bb
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,14 @@ var loadJSResorce = function(pathToResource, onLoad) {
head.appendChild(script);
};
var setFavicons = function(img) {
var head = document.getElementsByTagName('head')[0];
var iconLink= document.createElement('link');
iconLink.setAttribute('rel', 'icon');
iconLink.setAttribute('href', img);
head.appendChild(iconLink);
};
var onLoadInstanceProfileResorceFunc = function() {
profile = new InstanceProfile();
//
......@@ -27,6 +35,7 @@ var onLoadInstanceProfileResorceFunc = function() {
//<PROFILE_PLACEHOLDER>
loadJSResorce("./etc/InstanceProfile.js", onLoadInstanceProfileResorceFunc);
setFavicons("./img/favicon.ico");
//</PROFILE_PLACEHOLDER>
var PLUGINS_CONFIGURATION = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment