# HG changeset patch # User Takumi IINO # Date 2014-11-29 08:46:53 # Node ID ee2993beec85022ae775a5eb8c6130eb65f37055 # Parent e4721f7ba042d169bc86bc8cffe9658cedb91678 javascripts: remove YUQ in kallithea/templates/changelog/changelog.html diff --git a/kallithea/templates/changelog/changelog.html b/kallithea/templates/changelog/changelog.html --- a/kallithea/templates/changelog/changelog.html +++ b/kallithea/templates/changelog/changelog.html @@ -243,21 +243,20 @@ ${self.repo_context_bar('changelog', c.f YUE.preventDefault(e); }); - var msgs = YUQ('.message'); + var $msgs = $('.message'); // get first element height - var el = YUQ('#graph_content .container')[0]; + var el = $('#graph_content .container')[0]; var row_h = el.clientHeight; - for(var i=0;i row_h){ var offset = row_h - (h+12); - YUD.setStyle(m.nextElementSibling,'display','block'); - YUD.setStyle(m.nextElementSibling,'margin-top',offset+'px'); - }; - } + $(m.nextElementSibling).css('display', 'block'); + $(m.nextElementSibling).css('margin-top', offset+'px'); + } + }); $('.expand_commit').on('click',function(e){ var cid = $(this).attr('commit_id');