Skip to content

Commit

Permalink
Force preview window to refresh on every save
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Curry committed Feb 7, 2013
1 parent 14a56c1 commit 7ff8d35
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions admin/javascript/LeftAndMain.Preview.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -318,10 +318,7 @@
* Change the URL of the preview iframe (if its not already displayed). * Change the URL of the preview iframe (if its not already displayed).
*/ */
_loadUrl: function(url) { _loadUrl: function(url) {
var iframe = this.find('iframe'); this.find('iframe').addClass('loading').attr('src', url);
if(iframe.attr('src') != url) {
iframe.addClass('loading').attr('src', url);
}
return this; return this;
}, },


Expand Down

0 comments on commit 7ff8d35

Please sign in to comment.