Skip to content

Commit 7db8286

Browse files
author
AMJones
committed
Removed touch adjustment.
1 parent a86308b commit 7db8286

7 files changed

Lines changed: 7 additions & 14 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"css"
1313
],
1414
"homepage": "https://www.github.com/deviscoding/drawer",
15-
"version": "2.0.5",
15+
"version": "2.1",
1616
"authors": [
1717
{
1818
"name": "Aaron M Jones",

dist/css/drawer.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* DevIsCoding Drawer v2.0.5 (http://github.com/deviscoding/drawer)
2+
* DevIsCoding Drawer v2.1 (http://github.com/deviscoding/drawer)
33
* Licensed under MIT (https://github.com/deviscoding/drawer/blob/master/LICENSE)
44
*/
55
.drawer {

dist/css/drawer.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/drawer.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jQuery.fn.extend( {
6262
/**
6363
* jQuery Plugin for managing a navigation drawer.
6464
*
65-
* @version v2.0.4
65+
* @version v2.1
6666
* @license https://github.com/deviscoding/drawer/LICENSE
6767
* @author Aaron M Jones <am@jonesiscoding.com>
6868
*/
@@ -118,9 +118,6 @@ jQuery.fn.extend( {
118118
if(drawer.isTemporary()) {
119119
$html.removeClass('on off persistent permanent').addClass('temporary');
120120
} else if(drawer.isPersistent()) {
121-
if(!$html.hasClass('temporary') && $html.hasClass('touch')) {
122-
$html.addClass('off');
123-
}
124121
$html.addClass('persistent').removeClass('on temporary permanent');
125122
} else {
126123
$html.addClass('permanent').removeClass('temporary persistent on off');

dist/js/drawer.min.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/drawer.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* jQuery Plugin for managing a navigation drawer.
33
*
4-
* @version v2.0.4
4+
* @version v2.1
55
* @license https://github.com/deviscoding/drawer/LICENSE
66
* @author Aaron M Jones <am@jonesiscoding.com>
77
*/
@@ -57,9 +57,6 @@
5757
if(drawer.isTemporary()) {
5858
$html.removeClass('on off persistent permanent').addClass('temporary');
5959
} else if(drawer.isPersistent()) {
60-
if(!$html.hasClass('temporary') && $html.hasClass('touch')) {
61-
$html.addClass('off');
62-
}
6360
$html.addClass('persistent').removeClass('on temporary permanent');
6461
} else {
6562
$html.addClass('permanent').removeClass('temporary persistent on off');

scss/_drawer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
@if not($enable-framework) {
55
/*!
6-
* DevIsCoding Drawer v2.0.5 (http://github.com/deviscoding/drawer)
6+
* DevIsCoding Drawer v2.1 (http://github.com/deviscoding/drawer)
77
* Licensed under MIT (https://github.com/deviscoding/drawer/blob/master/LICENSE)
88
*/
99
}

0 commit comments

Comments
 (0)