projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0001183: Can't close the popup dimension # view window
[fa-stable.git]
/
js
/
utils.js
diff --git
a/js/utils.js
b/js/utils.js
index 781382b32b12ecfedf593393fd12e443436dfd87..5af7bfb4f644bab6e6e54836eb4ba38d5162d8a6 100644
(file)
--- a/
js/utils.js
+++ b/
js/utils.js
@@
-251,8
+251,8
@@
function get_amount(doc, label) {
return isNaN(val) ? 0 : val;
}
-function goBack() {
- if (
window.history.length <= 1
)
+function goBack(
no_menu
) {
+ if (
no_menu
)
window.close();
else
window.history.go(-1);