Procházet zdrojové kódy

fixed broken code when overriding transformOOBURL

Dele Olajide před 5 roky
rodič
revize
bf1fd01d66
2 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 3 0
      location/location.js
  2. 1 1
      location/readme.md

+ 3 - 0
location/location.js

@@ -114,6 +114,9 @@
                     {
                         return "<iframe frameborder='0' style='border:0px; border-width:0px; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; width:100%;height:600px;' src='" + url + "'></iframe>";
                     }
+                    else {
+                        return this.__super__.transformOOBURL.apply(this, arguments);
+                    }
                 }
             }
         }

+ 1 - 1
location/readme.md

@@ -9,4 +9,4 @@ This plugin publishes and recieves the geographic location of the user to xmpp p
 see https://m.conversejs.org/docs/html/plugin_development.html on how to install this plugin
 
 ## How to use
-Click on the arrow icon to publish your deo location
+Click on the arrow icon to publish your geo location