Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

Try to stop PyCharm from complaining

by roundabout, Sunday, 15 September 2024, 11:43:08 (1726400588), pushed by roundabout, Sunday, 15 September 2024, 11:43:39 (1726400619)

Author identity: vlad <vlad.muntoiu@gmail.com>

85d3e19a4ddf478cc9ca665b3695316dcd5efbff

dialogs.js

@@ -1,5 +1,4 @@

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            document.body.addEventListener('click', function (event) {
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          const dialog = event.target.closest('dialog'); // Find the closest dialog element
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              if (event.target.matches('dialog')) {
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                event.target.close();
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              }
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                            
                                

toasts.js

@@ -1,6 +1,5 @@

                                
                                
                                
                            
                                
                                    
                                        
                                        function removeToast() {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            const button = event.target;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            el = button;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        function removeToast(event) {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            let el = event.target;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                // Check for the parent toast, remove it
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                while (el && el.parentNode) {