Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

maybe this smoothens the timing problems yacyui-portalsearch.js a little bit

apfelmaennchen63097513ae98
diff --git a/htroot/yacy/ui/js/yacyui-portalsearch.js b/htroot/yacy/ui/js/yacyui-portalsearch.js
index 16b832805..fa2eb3d56 100644
--- a/htroot/yacy/ui/js/yacyui-portalsearch.js
+++ b/htroot/yacy/ui/js/yacyui-portalsearch.js
@@ -26,8 +26,11 @@ $(document).ready(function() {
$('<div id="ypopup" class="classic"></div>').appendTo("#yacylivesearch");
var style1 = yconf.url + '/yacy/ui/css/yacyui-portalsearch.css';
- var style2 = yconf.url + '/yacy/ui/css/themes/'+yconf.theme+'/ui.all.css';
-
+ var style2 = yconf.url + '/yacy/ui/css/themes/'+yconf.theme+'/ui.core.css';
+ var style3 = yconf.url + '/yacy/ui/css/themes/'+yconf.theme+'/ui.dialog.css';
+ var style4 = yconf.url + '/yacy/ui/css/themes/'+yconf.theme+'/ui.theme.css';
+ var style5 = yconf.url + '/yacy/ui/css/themes/'+yconf.theme+'/ui.resizable.css';
+
var head = document.getElementsByTagName('head')[0];
$(document.createElement('link'))
@@ -36,6 +39,15 @@ $(document).ready(function() {
$(document.createElement('link'))
.attr({type:'text/css', href: style2, rel:'stylesheet', media:'screen'})
.appendTo(head);
+ $(document.createElement('link'))
+ .attr({type:'text/css', href: style3, rel:'stylesheet', media:'screen'})
+ .appendTo(head);
+ $(document.createElement('link'))
+ .attr({type:'text/css', href: style4, rel:'stylesheet', media:'screen'})
+ .appendTo(head);
+ $(document.createElement('link'))
+ .attr({type:'text/css', href: style5, rel:'stylesheet', media:'screen'})
+ .appendTo(head);
var script1 = yconf.url + '/yacy/ui/js/jquery.query.js';
var script2 = yconf.url + '/yacy/ui/js/jquery.form.js';