Skip to content

Commit 2487245

Browse files
committed
Replace == with ===
1 parent a4f1269 commit 2487245

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/www/shared/shiny.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@
969969
open: function(message) {
970970
// Add progress container (for all progress items) if not already present
971971
var $container = $('.shiny-progress-container');
972-
if ($container.length == 0) {
972+
if ($container.length === 0) {
973973
$container = $('<div class="shiny-progress-container"></div>');
974974
$('body').append($container);
975975
}
@@ -1024,7 +1024,7 @@
10241024
$progress.remove();
10251025

10261026
// If this was the last shiny-progress, remove container
1027-
if ($('.shiny-progress').length == 0)
1027+
if ($('.shiny-progress').length === 0)
10281028
$('.shiny-progress-container').remove();
10291029
}
10301030
});

0 commit comments

Comments
 (0)