mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-20 06:03:20 +00:00
Merge pull request #338 from helsinki-systems/escape-css-selectors
fix(calendar(js)): escape CSS selector names (@leonklingele)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/* -*- Mode: javascript; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
|
||||
/**
|
||||
* @type {angular.Module}
|
||||
*/
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* @ngInject
|
||||
*/
|
||||
cssEscape.$inject = ['$window'];
|
||||
function cssEscape($window) {
|
||||
return $window.CSS.escape;
|
||||
}
|
||||
|
||||
angular.module('SOGo.Common')
|
||||
.filter('cssEscape', cssEscape);
|
||||
})();
|
||||
Reference in New Issue
Block a user