Sha256: c752e071b50aadaef89dd0196f7c09b4e9d6e48c148cf29f5f0dfde71ea05fd1

Contents?: true

Size: 283 Bytes

Versions: 25

Compression:

Stored size: 283 Bytes

Contents

function toggleCodeCollapse (eltID) {
    var elt = document.getElementById(eltID);
    if (elt.className.match(/\btmcode-collapsed\b/)) {
        elt.className = elt.className.replace(/ ?\btmcode-collapsed\b/, "");
    } else {
        elt.className += " tmcode-collapsed";
    }
}

Version data entries

25 entries across 21 versions & 1 rubygems

Version Path
typo-5.5 public/javascripts/codecollapse.js
typo-5.4.4 public/javascripts/codecollapse.js
typo-5.4.3 public/javascripts/codecollapse.js
typo-5.4.2 public/javascripts/codecollapse.js
typo-5.4.1 public/javascripts/codecollapse.js
typo-5.4 public/javascripts/codecollapse.js
typo-4.1.1 public/javascripts/codecollapse.js
typo-5.0.2 public/javascripts/codecollapse.js
typo-5.0.1 public/javascripts/codecollapse.js
typo-4.1 public/javascripts/codecollapse.js
typo-5.0.3.98.1 public/javascripts/codecollapse.js
typo-5.0.3.98 public/javascripts/codecollapse.js
typo-5.0 public/javascripts/codecollapse.js
typo-5.1.1 public/javascripts/codecollapse.js
typo-5.1.2 public/javascripts/codecollapse.js
typo-5.1.3 public/javascripts/codecollapse.js
typo-5.1.98 public/javascripts/codecollapse.js
typo-5.1 public/javascripts/codecollapse.js
typo-5.1.98 public/sources/javascripts/codecollapse.js
typo-5.2.98 public/sources/javascripts/codecollapse.js