mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-28 22:16:00 -04:00
Minor changes.
This commit is contained in:
parent
a796bd606f
commit
db4bfec2dd
2 changed files with 4 additions and 3 deletions
|
@ -47,6 +47,8 @@
|
||||||
if ($ul.children(".entry:not(.folder-parent)").size() === 0) {
|
if ($ul.children(".entry:not(.folder-parent)").size() === 0) {
|
||||||
$("#extended").append($("<div class='empty l10n-empty'>empty</div>"));
|
$("#extended").append($("<div class='empty l10n-empty'>empty</div>"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// no match
|
||||||
$("#extended").append($("<div class='no-match l10n-noMatch'>no match</div>"));
|
$("#extended").append($("<div class='no-match l10n-noMatch'>no match</div>"));
|
||||||
},
|
},
|
||||||
customize = function () {
|
customize = function () {
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
(function ($, h5ai) {
|
(function ($, h5ai) {
|
||||||
|
|
||||||
var settings = h5ai.settings,
|
var settings = h5ai.settings,
|
||||||
langs = h5ai.config.langs,
|
|
||||||
currentDateFormat = settings.dateFormat,
|
currentDateFormat = settings.dateFormat,
|
||||||
formatDates = function (dateFormat) {
|
formatDates = function (dateFormat) {
|
||||||
|
|
||||||
|
@ -97,8 +96,8 @@
|
||||||
},
|
},
|
||||||
init = function () {
|
init = function () {
|
||||||
|
|
||||||
initLangSelector(langs);
|
initLangSelector(h5ai.config.langs);
|
||||||
localize(langs, settings.lang, settings.useBrowserLang);
|
localize(h5ai.config.langs, settings.lang, settings.useBrowserLang);
|
||||||
};
|
};
|
||||||
|
|
||||||
h5ai.localize = {
|
h5ai.localize = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue