now we should be able to remove the function check. Revert if live updates or page loads go weird. I've tested, but it went weird on me last time I tried this a week or so ago so I'm crossing fingers.

This commit is contained in:
friendica 2014-06-18 15:53:26 -07:00
parent 476675e211
commit 80d84206ed
2 changed files with 8 additions and 28 deletions

View File

@ -1 +1 @@
2014-06-17.709 2014-06-18.710

View File

@ -196,17 +196,6 @@
msie = false; // $.browser.msie ; msie = false; // $.browser.msie ;
/* setup tooltips *//*
$("a,.tt").each(function(){
var e = $(this);
var pos="bottom";
if (e.hasClass("tttop")) pos="top";
if (e.hasClass("ttbottom")) pos="bottom";
if (e.hasClass("ttleft")) pos="left";
if (e.hasClass("ttright")) pos="right";
e.tipTip({defaultPosition: pos, edgeOffset: 8});
});*/
var e = document.getElementById('content-complete'); var e = document.getElementById('content-complete');
if(e) if(e)
pageHasMoreContent = false; pageHasMoreContent = false;
@ -600,7 +589,7 @@ function updateConvItems(mode,data) {
var update_url; var update_url;
if(typeof buildCmd == 'function') { // if(typeof buildCmd == 'function') {
if(scroll_next) { if(scroll_next) {
bParam_page = next_page; bParam_page = next_page;
page_load = true; page_load = true;
@ -609,12 +598,12 @@ function updateConvItems(mode,data) {
bParam_page = 1; bParam_page = 1;
} }
update_url = buildCmd(); update_url = buildCmd();
} // }
else { // else {
page_load = false; // page_load = false;
var udargs = ((page_load) ? '/load' : ''); // var udargs = ((page_load) ? '/load' : '');
update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0); // update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0);
} // }
if(page_load) if(page_load)
$("#page-spinner").spin('small'); $("#page-spinner").spin('small');
@ -648,15 +637,6 @@ function updateConvItems(mode,data) {
} }
function imgbright(node) {
// $(node).removeClass("drophide").addClass("drop");
}
function imgdull(node) {
// $(node).removeClass("drop").addClass("drophide");
}
function notify_popup_loader(notifyType) { function notify_popup_loader(notifyType) {
/* notifications template */ /* notifications template */