Permalink
Browse files

Force preview window to refresh on every save

  • Loading branch information...
1 parent 14a56c1 commit 7ff8d35be075a0f04e0da102dbae3a8f8ca8f9b8 @robert-h-curry robert-h-curry committed Feb 7, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 admin/javascript/LeftAndMain.Preview.js
@@ -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;
},

0 comments on commit 7ff8d35

Please sign in to comment.