Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Commit 68f8127

Browse files
Gabriel DelépineGabriel Delépine
Gabriel Delépine
authored and
Gabriel Delépine
committed
Fix issue #5 : angular 1.2.3 only contains jqlite
1 parent 3662a60 commit 68f8127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angular-css-injector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ angular.module('angular.css.injector', [])
1212
{
1313
// Variables
1414
var singlePageMode = false,
15-
head = angular.element(jQuery === undefined ? document.querySelector('head') : 'head'), // TO make the code IE < 8 compatible, include jQuery in your page
15+
head = angular.element(typeof jQuery == "undefined" ? document.querySelector('head') : 'head'), // TO make the code IE < 8 compatible, include jQuery in your page
1616
scope;
1717

1818
// Capture the event `locationChangeStart` when the url change. If singlePageMode===TRUE, call the function `removeAll`

0 commit comments

Comments
 (0)