Commit 44a16ebf authored by Robert Speicher's avatar Robert Speicher

Merge branch 'patch-3' into 'master'

Fix toggler_behavior.js to toggle ajax loaded contents like `diffs` page.

## What does this MR do?

Fix toggle in diffs

## What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/21676, https://gitlab.com/gitlab-org/gitlab-ce/issues/21686.

See merge request !6119
parents c931745c 3a575d14
(function(w) {
$(function() {
$('.js-toggle-button').on('click', function(e) {
$('body').on('click', '.js-toggle-button', function(e) {
e.preventDefault();
$(this)
.find('.fa')
......
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