]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/richtext.js
Merge remote-tracking branch 'openstreetmap/pull/1082'
[rails.git] / app / assets / javascripts / richtext.js
index 38cc2a77bd5f332ce6aa2a35ae957dafa8cd3204..a5323bc0774c3adcd81ba28a191c27c88ffcce0f 100644 (file)
@@ -44,7 +44,7 @@ $(document).ready(function () {
     var width = editor.outerWidth() - preview.outerWidth() + preview.width();
     var minHeight = editor.outerHeight() - preview.outerHeight() + preview.height();
 
-    if (preview.contents().length == 0) {
+    if (preview.contents().length === 0) {
       preview.oneTime(500, "loading", function () {
         preview.addClass("loading");
       });