forked from 0x2620/pandora
0xDB: no home screen tooltip, for the sake of simplicity
This commit is contained in:
parent
26b8357da9
commit
63f30402f5
1 changed files with 3 additions and 9 deletions
|
@ -47,12 +47,7 @@ pandora.ui.home = function() {
|
||||||
})
|
})
|
||||||
.appendTo(that),
|
.appendTo(that),
|
||||||
|
|
||||||
$logo = Ox.Element({
|
$logo = $('<img>')
|
||||||
element: '<img>',
|
|
||||||
tooltip: function() {
|
|
||||||
return Ox._('Enter {0}', [pandora.site.site.name]);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.addClass('logo')
|
.addClass('logo')
|
||||||
.attr({
|
.attr({
|
||||||
id: 'logo',
|
id: 'logo',
|
||||||
|
@ -68,8 +63,8 @@ pandora.ui.home = function() {
|
||||||
margin: 'auto',
|
margin: 'auto',
|
||||||
cursor: 'pointer'
|
cursor: 'pointer'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.on({
|
||||||
anyclick: function() {
|
click: function() {
|
||||||
$browseButton.triggerEvent('click');
|
$browseButton.triggerEvent('click');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -278,7 +273,6 @@ pandora.ui.home = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
that.fadeOutScreen = function() {
|
that.fadeOutScreen = function() {
|
||||||
$('.OxTooltip').remove();
|
|
||||||
that.find(':not(#logo)').hide();
|
that.find(':not(#logo)').hide();
|
||||||
$logo.animate({width: window.innerWidth + 'px'}, 500);
|
$logo.animate({width: window.innerWidth + 'px'}, 500);
|
||||||
that.animate({opacity: 0}, 500, function() {
|
that.animate({opacity: 0}, 500, function() {
|
||||||
|
|
Loading…
Reference in a new issue