• Yar's avatar
    Fix double event and xhr request call on MR page !7298 · 5b876592
    Yar authored
    On page merge_requests/n/diffs and merge_requests/n/commits 'shown.bs.tab' event triggers twice when tab is loading  which lead to  extra ajax request for data each time.
    This commit prevent this event from triggering twice when tab is loading.
    5b876592
merge_request_tabs.js 14.8 KB