equal
deleted
inserted
replaced
14 this._q = null ; |
14 this._q = null ; |
15 |
15 |
16 this._iPreventClick = false ; // oh really ? |
16 this._iPreventClick = false ; // oh really ? |
17 } |
17 } |
18 |
18 |
19 // Are we on Safari mobile ? |
19 // SID: Are we on Safari mobile ? |
20 // made global to be used in templates/site/text_view_comments.html |
20 // made global to be used in templates/site/text_view_comments.html |
21 // and in media/js/site/c_text_view_comments.js |
21 // and in media/js/site/c_text_view_comments.js |
22 safari_mobile = /iPhone|iPod|iPad/.test(navigator.userAgent); |
22 safari_mobile = /iPhone|iPod|iPad/.test(navigator.userAgent); |
23 // If so, we must scroll the jQuery UI pane created for Safari mobile instead of the whole document |
23 // If so, we must scroll the jQuery UI pane created for Safari mobile instead of the whole document |
24 var the_scrolling_part = safari_mobile ? '#maincontainer' : 'document' ; |
24 var the_scrolling_part = safari_mobile ? '#maincontainer' : 'document' ; |