Force preview window to refresh on every save

This commit is contained in:
Robert Curry 2013-02-08 12:04:18 +13:00
parent 14a56c18e9
commit 7ff8d35be0

View File

@ -318,10 +318,7 @@
* Change the URL of the preview iframe (if its not already displayed).
*/
_loadUrl: function(url) {
var iframe = this.find('iframe');
if(iframe.attr('src') != url) {
iframe.addClass('loading').attr('src', url);
}
this.find('iframe').addClass('loading').attr('src', url);
return this;
},