From 04ba67d6f181dd99b7ee82f9244c8ccfd8b565e7 Mon Sep 17 00:00:00 2001 From: thomaswelton Date: Thu, 9 Jan 2014 10:16:27 +0000 Subject: [PATCH] Add new varaible @icon-font-svg-id and set it to be the correct SVG font ID, used new variable in glyphicons.less --- less/glyphicons.less | 2 +- less/variables.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/less/glyphicons.less b/less/glyphicons.less index 29ce1c0713..789c5e7f4a 100644 --- a/less/glyphicons.less +++ b/less/glyphicons.less @@ -14,7 +14,7 @@ src: ~"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')", ~"url('@{icon-font-path}@{icon-font-name}.woff') format('woff')", ~"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')", - ~"url('@{icon-font-path}@{icon-font-name}.svg#glyphicons-halflingsregular') format('svg')"; + ~"url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg')"; } // Catchall baseclass diff --git a/less/variables.less b/less/variables.less index 2bb443a6ca..106a734577 100644 --- a/less/variables.less +++ b/less/variables.less @@ -74,7 +74,7 @@ @icon-font-path: "../fonts/"; @icon-font-name: "glyphicons-halflings-regular"; - +@icon-font-svg-id: "glyphicons_halflingsregular"; //== Components //