fixed the shadow on the add folder/feed popup

This commit is contained in:
Bernhard Posselt 2012-08-15 02:20:57 +02:00
Родитель 648ae04523
Коммит cb38efda8d
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -493,7 +493,7 @@ li.menuItem {
ul.menu {
position: absolute;
z-index:100;
z-index:1;
margin-left: 0.3em;
display: none;
background:#EEEEEE;

Просмотреть файл

@ -684,6 +684,7 @@ $(document).ready(function(){
var item = this;
var itemOffset = $(this).position().top;
if(itemOffset <= 0 || scrolled >= scrollHeight){
// wait and check if the item is still under the top edge
setTimeout(function(){ markItemAsRead(scrollArea, item);}, 1000);
}
})
@ -695,7 +696,7 @@ $(document).ready(function(){
});
/**
* Marks an item as read
* Marks an item as read which is called by the timeout
* @param item the dom item
*/
function markItemAsRead(scrollArea, item){