mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:25:57 +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);
|
dijit.byId('genConfigTab').attr('content', transport.responseText);
|
||||||
Notify.close();
|
Notify.close();
|
||||||
});
|
});
|
||||||
}
|
},
|
||||||
};
|
OPML: {
|
||||||
|
|
||||||
Helpers.OPML = {
|
|
||||||
import: function() {
|
import: function() {
|
||||||
const opml_file = $("opml_file");
|
const opml_file = $("opml_file");
|
||||||
|
|
||||||
@@ -225,6 +223,7 @@ define(["dojo/_base/declare"], function (declare) {
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return Helpers;
|
return Helpers;
|
||||||
|
|||||||
Reference in New Issue
Block a user