Skip to content

Commit

Permalink
[core] fix of @3dc406
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Jan 14, 2014
1 parent 9a1bd26 commit 046f351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/elFinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ window.elFinder = function(node, opts) {
// attach events to window
self.options.useBrowserHistory && $(window)
.on('popstate', function(ev) {
var target = ev.originalEvent.state.thash;
var target = ev.originalEvent.state && ev.originalEvent.state.thash;
target && !$.isEmptyObject(self.files()) && self.request({
data : {cmd : 'open', target : target, onhistory : 1},
notify : {type : 'open', cnt : 1, hideCnt : true},
Expand Down

0 comments on commit 046f351

Please sign in to comment.