We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 4eddf1c7 authored by Zach Copley's avatar Zach Copley

Merge branch 'userdesign' of ssh://zach@dev.controlyourself.ca/mnt/www/design into userdesign

* 'userdesign' of ssh://zach@dev.controlyourself.ca/mnt/www/design:
  Placed a check to make sure there is a reply button in a notice before
parents 06240450 5854fe19
......@@ -235,7 +235,7 @@ $(document).ready(function(){
});
function NoticeReply() {
if ($('#notice_data-text').length > 0) {
if ($('#notice_data-text').length > 0 && $('.notice_reply').length > 0) {
$('#content .notice').each(function() {
var notice = $(this)[0];
$($('.notice_reply', notice)[0]).click(function() {
......@@ -308,4 +308,4 @@ function NoticeAttachments() {
$(this).closest(".entry-title").removeClass('ov');
}
);
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment