Files
firefox/third_party/python/mock-1.0.0/html/_static/toc.js
T
Andrew Halberstadt 7bb38413f2 Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted
This commit is a simple 'hg mv' and does not contain any file modifications.

***
Bug 1346025 - Split vendored modules in python/moz.build to third_party/python/moz.build, r=ted

***
Bug 1346025 - Update references to moved python modules, r=ted

MozReview-Commit-ID: A12RnIFtXju
2017-05-25 11:48:03 -04:00

20 lines
498 B
JavaScript

var TOC = {
load: function () {
$('#toc_button').click(TOC.toggle);
},
toggle: function () {
if ($('#sphinxsidebar').toggle().is(':hidden')) {
$('div.document').css('left', "0px");
$('toc_button').removeClass("open");
} else {
$('div.document').css('left', "230px");
$('#toc_button').addClass("open");
}
return $('#sphinxsidebar');
}
};
$(document).ready(function () {
TOC.load();
});