Skip to content

Commit

Permalink
Naprawa wyświetlania tekstu.
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Feb 3, 2020
1 parent 1f9256a commit 0749e5a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/controlPanel/controlPanel.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
</div>
</div>

<script type="module" src="../thirdparty/Localizer.js"></script>
<script src="../thirdparty/Localizer.js"></script>
<script src="../thirdparty/mui.js"></script>
<script src="../thirdparty/autosize.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion src/install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<em:creator>Polish Filters Team</em:creator>
<em:homepageURL>https://github.com/PolishFiltersTeam/PolishCookieConsent/tree/legacy</em:homepageURL>
<em:id>[email protected]</em:id>
<em:version>1.42.3</em:version>
<em:version>1.42.4</em:version>
<em:type>2</em:type>
<em:bootstrap>true</em:bootstrap>

Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "Polish Cookie Consent",
"name": "pcc",
"version": "1.42.3",
"version": "1.42.4",
"description": "Automatically accepts cookie policy/GDPR on pages available in Polish.",
"main": "index.js",
"author": "Polish Filters Team",
Expand Down
2 changes: 1 addition & 1 deletion src/popup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<span data-i18n="__MSG_changelog__"></span>
</div>

<script defer type="module" src="../thirdparty/Localizer.js"></script>
<script defer src="../thirdparty/Localizer.js"></script>

</body>
</html>
2 changes: 1 addition & 1 deletion src/thirdparty/Localizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ function replaceI18n(elem, tag) {
* @public
* @returns {void}
*/
export function init() {
function init() {
document.querySelectorAll(`[${I18N_ATTRIBUTE}]`).forEach((currentElem) => {
const contentString = currentElem.dataset[I18N_DATASET];
replaceI18n(currentElem, contentString);
Expand Down

0 comments on commit 0749e5a

Please sign in to comment.