diff --git a/OOMAnalyser.html b/OOMAnalyser.html index 5824afc..0bc4872 100644 --- a/OOMAnalyser.html +++ b/OOMAnalyser.html @@ -30,12 +30,11 @@ vertical-align: super; font-size: 0.83em; } - - .text--default-hide { + .js-text--default-hide { /* empty just used to hide elements in the default view */ } - .text--default-show { + .js-text--default-show { /* empty just used to show elements in the default view */ } @@ -159,9 +158,9 @@ function goBack() {

-

+
-
+

Step 1 - Enter your OOM message


@@ -170,7 +169,7 @@ function goBack() {
-
+

Step 2 - Results

@@ -640,7 +639,7 @@ function goBack() { title="Show / hide news">(click to show / hide)

-
+

Version 0.3.0 - 2019-XX-XX:

General

@@ -672,7 +671,7 @@ function goBack() { title="Show / hide installation guide">(click to show / hide)
-
+
Installing OOMAnalyser is quite easy since OOMAnalyser consists only of two files, a HTML file and a JavaScript file. Both can be stored locally to use OOMAnalyser without an Internet connection. diff --git a/OOMAnalyser.py b/OOMAnalyser.py index 5900e8b..a3c1dd8 100644 --- a/OOMAnalyser.py +++ b/OOMAnalyser.py @@ -871,11 +871,11 @@ Killed process 6576 (java) total-vm:33914892kB, anon-rss:20629004kB, file-rss:0k document.getElementById('textarea_oom').value = self.paste_note # hide all elements marked to be hidden by default - for element in document.querySelectorAll('.text--default-hide'): + for element in document.querySelectorAll('.js-text--default-hide'): element.classList.add('js-text--display-none') # show all elements marked to be shown by default - for element in document.querySelectorAll('.text--default-show'): + for element in document.querySelectorAll('.js-text--default-show'): element.classList.remove('js-text--display-none') # show hidden rows