mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Fix Galaxy CSS utility
This commit is contained in:
@@ -28,7 +28,7 @@ function get_attribute (classname, name)
|
||||
function load_file (url)
|
||||
{
|
||||
// check if css is already available
|
||||
if (!$('link[href="' + url + '"]').length)
|
||||
if (!$('link[href^="' + url + '"]').length)
|
||||
$('<link href="' + url + '" rel="stylesheet">').appendTo('head');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user