Skip to content

Commit efff004

Browse files
author
AMJones
committed
Corrects query for cross browser compatibility.
1 parent 15a7606 commit efff004

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"css"
1111
],
1212
"homepage": "https://www.github.com/strapless/display",
13-
"version": "1.0.3",
13+
"version": "1.0.4",
1414
"authors": [
1515
{
1616
"name": "Aaron M Jones",

dist/css/strapless-display.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Strapless Display v1.0.3 (http://github.com/strapless/display)
2+
* Strapless Display v1.0.4 (http://github.com/strapless/display)
33
* Influenced by Bootstrap v4.0 (http://getbootstrap.com)
44
* Licensed under MIT (https://github.com/strapless/display/blob/master/LICENSE)
55
*/

dist/css/strapless-display.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/strapless-display.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
jQuery.fn.extend( {
88
isBreakpoint: function ( points ) {
9-
var query = window.getComputedStyle(document.querySelector('body'), ':before').getPropertyValue('content') || null;
9+
var query = window.getComputedStyle(document.querySelector('body'), ':before').getPropertyValue('content').replace(/\"/g, '') || null;
1010
if ( !points.constructor === Array ) { points = [ points ]; }
1111
if (null !== query) { return (points.indexOf(query) !== -1); }
1212
var test = false;

dist/js/strapless-display.min.js

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

js/breakpoint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
jQuery.fn.extend( {
88
isBreakpoint: function ( points ) {
9-
var query = window.getComputedStyle(document.querySelector('body'), ':before').getPropertyValue('content') || null;
9+
var query = window.getComputedStyle(document.querySelector('body'), ':before').getPropertyValue('content').replace(/\"/g, '') || null;
1010
if ( !points.constructor === Array ) { points = [ points ]; }
1111
if (null !== query) { return (points.indexOf(query) !== -1); }
1212
var test = false;

scss/_display.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-
* Strapless Display v1.0.3 (http://github.com/strapless/display)
6+
* Strapless Display v1.0.4 (http://github.com/strapless/display)
77
* Influenced by Bootstrap v4.0 (http://getbootstrap.com)
88
* Licensed under MIT (https://github.com/strapless/display/blob/master/LICENSE)
99
*/

0 commit comments

Comments
 (0)