Commit ebf74a34 authored by Robert Speicher's avatar Robert Speicher Committed by Ruben Davila

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
parent ad9846e7
(function(w) { (function(w) {
$(function() { $(function() {
$('.js-toggle-button').on('click', function(e) { $('body').on('click', '.js-toggle-button', function(e) {
e.preventDefault(); e.preventDefault();
$(this) $(this)
.find('.fa') .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