40 |
var index_el = getElement("history_index"); |
var index_el = getElement("history_index"); |
41 |
var indexVal = parseInt(index_el.value); |
var indexVal = parseInt(index_el.value); |
42 |
|
|
43 |
// minimum response length? |
// minimum response length? |
44 |
if (response.length < 300){ |
if (response.length < 500){ |
45 |
|
|
46 |
showElement("footer") |
showElement("footer") |
47 |
if( indexVal > 0 ){ |
if( indexVal > 0 ){ |
50 |
); |
); |
51 |
}else{ |
}else{ |
52 |
var out = H2({'style':'text-align:center; font-style:italic; padding: 2em;'}, |
var out = H2({'style':'text-align:center; font-style:italic; padding: 2em;'}, |
53 |
"No posts matched your search." |
"No results matched your search." |
54 |
); |
); |
55 |
} |
} |
56 |
replaceChildNodes( "more_history", out ) |
replaceChildNodes( "more_history", out ) |
57 |
|
getElement("status").innerHTML = ''; |
58 |
return; |
return; |
59 |
} |
} |
60 |
|
|