Skip to content

Commit

Permalink
maybe this smoothens the timing problems yacyui-portalsearch.js a lit…
Browse files Browse the repository at this point in the history
…tle bit

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5900 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
apfelmaennchen committed Apr 29, 2009
1 parent d31e6f9 commit 6309751
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions htroot/yacy/ui/js/yacyui-portalsearch.js
Expand Up @@ -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'))
Expand All @@ -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';
Expand Down

0 comments on commit 6309751

Please sign in to comment.