auto merge of #17247 : huonw/rust/toggle-clone, r=alexcrichton

This needs a clone otherwise each successive insertion detaches `toggle`
from the previous position.

Fixes #17125.
This commit is contained in:
bors 2014-09-17 10:21:17 +00:00
commit e719db24a0

View File

@ -762,7 +762,7 @@
$(".method").each(function() {
if ($(this).next().is(".docblock")) {
$(this).children().first().after(toggle[0]);
$(this).children().first().after(toggle.clone());
}
});