mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 03:55:18 +00:00
check that aside actually exists before querying the html length
This commit is contained in:
parent
86ec665565
commit
7ed177c7cd
3 changed files with 3 additions and 3 deletions
|
@ -164,7 +164,7 @@ $(document).ready(function() {
|
||||||
<img style="width: 450px; margin-bottom: 30px;" src="assets/logo_simplifiedap.png" >
|
<img style="width: 450px; margin-bottom: 30px;" src="assets/logo_simplifiedap.png" >
|
||||||
<div style="color:#808080;font-weight:bold;font-size:3.0em; margin-bottom:30px;">Dream it. Do it.</div>
|
<div style="color:#808080;font-weight:bold;font-size:3.0em; margin-bottom:30px;">Dream it. Do it.</div>
|
||||||
<div class="tr" style="font-size: 1.6em; color: #666; margin-left: 75px; margin-right: 75px;">
|
<div class="tr" style="font-size: 1.6em; color: #666; margin-left: 75px; margin-right: 75px;">
|
||||||
The RedMatrix (aka "red") is a highly advanced social networking platform which was created by a <a style="color: #555;" href="#" class="cb">farmer in Australia</a> - that grew disgusted by the lack of privacy and the increasing tendency of foreign corporations and governments to monitor and control the internet. This has strangled and subverted all that was once good about the web - and turned it into a "steaming pile of crap". (Aussies typically don't mince words.)
|
The RedMatrix (aka "red") is an advanced social networking platform which was created by a <a style="color: #555;" href="#" class="cb">farmer in Australia</a> - who grew disgusted by the lack of privacy and the increasing tendency of foreign corporations and governments to monitor and control the internet. This has strangled and subverted all that was once good about the web - and turned it into a "steaming pile of crap". (Aussies typically don't mince words.)
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<div class="tr" style="font-size: 1.6em; color: #666; margin-left: 75px; margin-right: 75px;">
|
<div class="tr" style="font-size: 1.6em; color: #666; margin-left: 75px; margin-right: 75px;">
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
2014-03-28.630
|
2014-03-29.631
|
||||||
|
|
|
@ -25,7 +25,7 @@ $('#expand-aside').click(function() {
|
||||||
$('main').toggleClass('region_1-on');
|
$('main').toggleClass('region_1-on');
|
||||||
});
|
});
|
||||||
|
|
||||||
if ($('aside').html().length == 0) {
|
if($('aside').length && $('aside').html().length == 0) {
|
||||||
$('#expand-aside').hide();
|
$('#expand-aside').hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue