}\r
\r
// Click handler on main helpView div to hide it\r
- $this.view.click(function() {\r
- $this.hide();\r
+ $this.view.click(function(e) {\r
+ e.stopImmediatePropagation();\r
+ e.stopPropagation();\r
+ e.preventDefault();\r
+\r
+ $this.hide();\r
+ return false;\r
});\r
},\r
isVisible: function() {\r
this.view.show();\r
$("#previous,#next").addClass('help');\r
this.fluidbook.showAllButtons();\r
- if (this.fluidbook.support.isMobile) {\r
- $(document).one('click t', function(e) {\r
- e.stopImmediatePropagation();\r
- e.stopPropagation();\r
- e.preventDefault();\r
\r
- $this.hide();\r
- return false;\r
- });\r
- } else {\r
- if (time != 0) {\r
- this.autoTimeout = setTimeout(function() {\r
- $this.hide();\r
- }, time * 1000);\r
- }\r
- }\r
+ if (time != 0) {\r
+ this.autoTimeout = setTimeout(function() {\r
+ $this.hide();\r
+ }, time * 1000);\r
+ }\r
+\r
return false;\r
},\r
hide: function() {\r