Add yet-another-react-lightbox package and update .gitignore to exclude node_modules
This commit is contained in:
22
frontend/node_modules/flatpickr/dist/esm/plugins/labelPlugin/labelPlugin.js
generated
vendored
22
frontend/node_modules/flatpickr/dist/esm/plugins/labelPlugin/labelPlugin.js
generated
vendored
@@ -1,22 +0,0 @@
|
||||
function labelPlugin() {
|
||||
return function (fp) {
|
||||
return {
|
||||
onReady: function () {
|
||||
var id = fp.input.id;
|
||||
if (!id) {
|
||||
return;
|
||||
}
|
||||
if (fp.mobileInput) {
|
||||
fp.input.removeAttribute("id");
|
||||
fp.mobileInput.id = id;
|
||||
}
|
||||
else if (fp.altInput) {
|
||||
fp.input.removeAttribute("id");
|
||||
fp.altInput.id = id;
|
||||
}
|
||||
fp.loadedPlugins.push("labelPlugin");
|
||||
},
|
||||
};
|
||||
};
|
||||
}
|
||||
export default labelPlugin;
|
||||
Reference in New Issue
Block a user