assets/vendor/tinymce/plugins/autosave/editor_plugin.js in tinymce-rails-3.4.3.2 vs assets/vendor/tinymce/plugins/autosave/editor_plugin.js in tinymce-rails-3.4.4
- old
+ new
@@ -333,10 +333,10 @@
* This method will restore the contents from the storage engine back to the editor.
*
* @method restoreDraft
*/
restoreDraft : function() {
- var self = this, storage = self.storage;
+ var self = this, storage = self.storage, content;
if (storage) {
content = storage.getItem(self.key);
if (content) {