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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user