privly / privly-applications

The central repository for Privly Injectable Applications.
MIT License
19 stars 48 forks source link

Fixed the console error in the show.html file #325

Closed opg7371 closed 8 years ago

opg7371 commented 8 years ago

This is regarding the console.log error in the show.html file in Plainpost section Issue number #124

opg7371 commented 8 years ago

The file autosize.js was not included properly thus giving the autosize error.It was initailly called using meta but as soon as i called it using script tag the console.log error was gone and the page was working fine in my case. Looking forward for suggestion

smcgregor commented 8 years ago

We don't want to include this library by default because it will be loaded every time a privly app is injected into a page. It sounds like the problem may be the autosize library not being loaded before it is called. I would prefer to solve this problem by ensuring the library is loaded before attempting to initialize it, rather than including it in a different manner.