提交 9d6e5f0a 编写于 作者: D Douglas Barbosa Alexandre

Make selectors more specific when scroll to element

上级 67913670
......@@ -77,7 +77,7 @@ class @MergeRequestTabs
scrollToElement: (container) ->
if window.location.hash
$el = $("#{container} #{window.location.hash}")
$el = $("div#{container} #{window.location.hash}")
$('body').scrollTo($el.offset().top) if $el.length
# Activate a tab based on the current action
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册