reapplying changes to make firefox 3.6 work

This commit is contained in:
rolux 2012-02-18 06:44:52 +00:00
parent b7d2d2302d
commit d86d80c4d8

View file

@ -130,11 +130,14 @@ appPanel
}
function loadOxJS(callback) {
var script = document.createElement('script');
var head = document.head
|| document.getElementsByTagName('head')[0]
|| document.documentElement,
script = document.createElement('script');
script.onload = callback;
script.src = '/static/oxjs/dev/Ox.js';
script.type = 'text/javascript';
document.head.appendChild(script);
head.appendChild(script);
}
function loadOxUI(callback) {
@ -373,7 +376,7 @@ appPanel
.attr({
src: Ox.PATH + 'Ox.UI/png/browser' + browser.name.replace(' ', '') + '128.png'
})
.css({width: '32px', height: '32px', margin: '4px'})
.css({width: '32px', height: '32px', border: 0, margin: '4px'})
)
.appendTo($images);
});