summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs/state.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs/state.js b/itjs/state.js
index 73e41cb..70d9909 100644
--- a/itjs/state.js
+++ b/itjs/state.js
@@ -52,7 +52,7 @@ new_history_entry: function(p)
ED('it_state::new_history_entry(): it_state object not found!');
var idoc;
- if (idoc = it_get_iframe_document(this.it_iframe))
+ if ((idoc = it_get_iframe_document(this.it_iframe)))
{
idoc.title = document.title;
idoc.forms[0].submit();