Made the sidebar use clicking instead of hovering for mobile devices.
This commit is contained in:
parent
25e8c668ad
commit
c72cec7cd0
3 changed files with 38 additions and 24 deletions
|
|
@ -328,12 +328,15 @@ DynMap.prototype = {
|
|||
.append(link=$('<input type="text" />'))
|
||||
.data('link', link)
|
||||
.appendTo(container);*/
|
||||
if(me.options.sidebaropened != 'true') {
|
||||
$('<div/>')
|
||||
.addClass('hitbar')
|
||||
.appendTo(panel);
|
||||
if(me.options.sidebaropened != 'true') {
|
||||
var hitbar = $('<div/>')
|
||||
.addClass('hitbar')
|
||||
.click(function() {
|
||||
sidebar.toggleClass('pinned');
|
||||
})
|
||||
.appendTo(panel);
|
||||
}
|
||||
|
||||
|
||||
var alertbox = me.alertbox = $('<div/>')
|
||||
.addClass('alertbox')
|
||||
.hide()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue