1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:05:56 +00:00

shorten declaration of PrefHelpers.OPML

This commit is contained in:
Andrew Dolgov
2018-12-03 12:57:19 +03:00
parent 8f1881e12c
commit a049b5bd88

View File

@@ -147,10 +147,8 @@ define(["dojo/_base/declare"], function (declare) {
dijit.byId('genConfigTab').attr('content', transport.responseText);
Notify.close();
});
}
};
Helpers.OPML = {
},
OPML: {
import: function() {
const opml_file = $("opml_file");
@@ -225,6 +223,7 @@ define(["dojo/_base/declare"], function (declare) {
}
return false;
},
}
};
return Helpers;