aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-01-09 11:07:42 -0800
committerChris Rebert <[email protected]>2014-01-09 11:07:42 -0800
commit12765037547211563e237053424847b183cd8117 (patch)
treed76e3679571f40a8c127b01721b46838e97401f6
parent1fc68c3560548cddb68eec90a814dca97733c92f (diff)
parent04ba67d6f181dd99b7ee82f9244c8ccfd8b565e7 (diff)
downloadbootstrap-12765037547211563e237053424847b183cd8117.tar.xz
bootstrap-12765037547211563e237053424847b183cd8117.zip
Merge pull request #12164 from thomaswelton/issue-12162
Fix value of svg font ID & removed hard coding
-rw-r--r--less/glyphicons.less2
-rw-r--r--less/variables.less2
2 files changed, 2 insertions, 2 deletions
diff --git a/less/glyphicons.less b/less/glyphicons.less
index 29ce1c071..789c5e7f4 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 2bb443a6c..106a73457 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
//