]> source.dussan.org Git - jquery-ui.git/commitdiff
Demos: Better wording for the purposefully broken tab
authorDeerBear <andrea.raimondi@gmail.com>
Tue, 6 Dec 2022 22:27:33 +0000 (23:27 +0100)
committerGitHub <noreply@github.com>
Tue, 6 Dec 2022 22:27:33 +0000 (23:27 +0100)
Fix both grammar and punctuation in one tabs demo.

Closes gh-2139

demos/tabs/ajax.html

index f10e6480e40a5ecc321534e9caeb6cd708a228da..876d19973b0621254a69d373e7c0906f0db258fd 100644 (file)
@@ -12,8 +12,8 @@
                        beforeLoad: function( event, ui ) {
                                ui.jqXHR.fail(function() {
                                        ui.panel.html(
-                                               "Couldn't load this tab. We'll try to fix this as soon as possible. " +
-                                               "If this wouldn't be a demo." );
+                                               "Couldn't load this tab. We'd try to fix this as soon as possible " +
+                                               "if this weren't a demo." );
                                });
                        }
                });