Skip to content

Commit 2dc3df5

Browse files
authored
Merge pull request #701 from swisnl/issue-700
Add `fab` class for FontAwesome
2 parents 0be0ce2 + e1fdb6b commit 2dc3df5

7 files changed

+13
-11
lines changed

dist/jquery.contextMenu.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Licensed under
1313
* MIT License http://www.opensource.org/licenses/mit-license
1414
*
15-
* Date: 2019-01-16T15:45:48.418Z
15+
* Date: 2019-10-05T07:55:23.294Z
1616
*/
1717
@-webkit-keyframes cm-spin {
1818
0% {
@@ -54,8 +54,8 @@
5454
font-style: normal;
5555
font-weight: normal;
5656

57-
src: url("font/context-menu-icons.eot?2lkho");
58-
src: url("font/context-menu-icons.eot?2lkho#iefix") format("embedded-opentype"), url("font/context-menu-icons.woff2?2lkho") format("woff2"), url("font/context-menu-icons.woff?2lkho") format("woff"), url("font/context-menu-icons.ttf?2lkho") format("truetype");
57+
src: url("font/context-menu-icons.eot?1zyug");
58+
src: url("font/context-menu-icons.eot?1zyug#iefix") format("embedded-opentype"), url("font/context-menu-icons.woff2?1zyug") format("woff2"), url("font/context-menu-icons.woff?1zyug") format("woff"), url("font/context-menu-icons.ttf?1zyug") format("truetype");
5959
}
6060

6161
.context-menu-icon-add:before {

dist/jquery.contextMenu.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Licensed under
1212
* MIT License http://www.opensource.org/licenses/mit-license
1313
*
14-
* Date: 2019-01-16T15:45:48.370Z
14+
* Date: 2019-10-05T07:55:23.263Z
1515
*/
1616

1717
// jscs:disable
@@ -279,7 +279,7 @@
279279
// contextmenu show dispatcher
280280
contextmenu: function (e) {
281281
var $this = $(this);
282-
282+
283283
//Show browser context-menu when preShow returns false
284284
if (e.data.events.preShow($this,e) === false) {
285285
return;
@@ -1337,6 +1337,7 @@
13371337
if (typeof(item.icon) === 'string' && (
13381338
item.icon.substring(0, 4) === 'fab '
13391339
|| item.icon.substring(0, 4) === 'fas '
1340+
|| item.icon.substring(0, 4) === 'fad '
13401341
|| item.icon.substring(0, 4) === 'far '
13411342
|| item.icon.substring(0, 4) === 'fal ')
13421343
) {

dist/jquery.contextMenu.min.css

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

0 commit comments

Comments
 (0)