Merge pull request #3920 from owncloud/Fixing_search_ie8
[ie8] Fix lazy CSS loading and missing borders in search dropdown
This commit is contained in:
commit
5513e30752
|
@ -226,9 +226,13 @@ var OC={
|
|||
var path=OC.filePath(app,'css',style+'.css');
|
||||
if(OC.addStyle.loaded.indexOf(path)===-1){
|
||||
OC.addStyle.loaded.push(path);
|
||||
if (document.createStyleSheet) {
|
||||
document.createStyleSheet(path);
|
||||
} else {
|
||||
style=$('<link rel="stylesheet" type="text/css" href="'+path+'"/>');
|
||||
$('head').append(style);
|
||||
}
|
||||
}
|
||||
},
|
||||
basename: function(path) {
|
||||
return path.replace(/\\/g,'/').replace( /.*\//, '' );
|
||||
|
|
|
@ -18,6 +18,10 @@
|
|||
z-index:75;
|
||||
}
|
||||
|
||||
.ie8 #searchresults {
|
||||
border: 1px solid #666 !important;
|
||||
}
|
||||
|
||||
#searchresults li.resultHeader {
|
||||
background-color:#eee;
|
||||
border-bottom:solid 1px #CCC;
|
||||
|
|
Loading…
Reference in New Issue