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,8 +226,12 @@ var OC={
|
||||||
var path=OC.filePath(app,'css',style+'.css');
|
var path=OC.filePath(app,'css',style+'.css');
|
||||||
if(OC.addStyle.loaded.indexOf(path)===-1){
|
if(OC.addStyle.loaded.indexOf(path)===-1){
|
||||||
OC.addStyle.loaded.push(path);
|
OC.addStyle.loaded.push(path);
|
||||||
style=$('<link rel="stylesheet" type="text/css" href="'+path+'"/>');
|
if (document.createStyleSheet) {
|
||||||
$('head').append(style);
|
document.createStyleSheet(path);
|
||||||
|
} else {
|
||||||
|
style=$('<link rel="stylesheet" type="text/css" href="'+path+'"/>');
|
||||||
|
$('head').append(style);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
basename: function(path) {
|
basename: function(path) {
|
||||||
|
|
|
@ -18,6 +18,10 @@
|
||||||
z-index:75;
|
z-index:75;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ie8 #searchresults {
|
||||||
|
border: 1px solid #666 !important;
|
||||||
|
}
|
||||||
|
|
||||||
#searchresults li.resultHeader {
|
#searchresults li.resultHeader {
|
||||||
background-color:#eee;
|
background-color:#eee;
|
||||||
border-bottom:solid 1px #CCC;
|
border-bottom:solid 1px #CCC;
|
||||||
|
|
Loading…
Reference in New Issue