Don't empty the "MELPA" archive name placeholders too soon

This commit is contained in:
Steve Purcell 2014-06-21 14:09:41 +01:00
parent 909a2d78f4
commit 49a0ae6d93

View file

@ -369,14 +369,13 @@
return m("span", ctrl.archiveName());
};
jQuery(function($) {
jQuery(window).load(function() {
document.title = (new melpa.archivename.controller()).archiveName();
$(".archive-name").each(function(i, e) {
$(e).empty();
jQuery(".archive-name").empty().each(function(i, e) {
m.module(e, melpa.archivename);
});
if (melpa.stable()) {
$("html").addClass("stable");
jQuery("html").addClass("stable");
}
});