From 95d08053a30defa13cb7ff4e2c9ebc35c964f533 Mon Sep 17 00:00:00 2001 From: nobody Date: Mon, 13 Jul 2020 18:50:13 +0200 Subject: [PATCH] Selection of Bootstrap-Datepicker fixed (#54) --- core/shorthands.js | 14 ++++++++++++++ pages/updates/updates.html | 1 + 2 files changed, 15 insertions(+) diff --git a/core/shorthands.js b/core/shorthands.js index c160b692..196755d7 100644 --- a/core/shorthands.js +++ b/core/shorthands.js @@ -118,6 +118,20 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) { 'path': 'resources/google-material-design-icons/google-material-design-icons.css', 'bundle': '' }; + } else if (/\/bootstrap-datepicker3.*\.css/.test(channelPath)) { + return { + 'source': channelHost, + 'version': '1.9.0', + 'path': 'resources/bootstrap-datepicker/1.9.0/bootstrap-datepicker3.standalone.min.css', + 'bundle': '' + }; + } else if (/\/bootstrap-datepicker.*\.css/.test(channelPath)) { + return { + 'source': channelHost, + 'version': '1.9.0', + 'path': 'resources/bootstrap-datepicker/1.9.0/bootstrap-datepicker.standalone.min.css', + 'bundle': '' + }; } else { return false; } diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 59770cb8..b0eb696c 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -25,6 +25,7 @@
Generate rule sets for uBlock or uMatrix