Closed (fixed)
Project:
Google Fonts
Version:
7.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2011 at 08:25 UTC
Updated:
15 Aug 2011 at 07:53 UTC
Steps to reproduce:
- Enable desired font and add some css within Google fonts module interface;
- Disable this font
Current behavior:
/sites/default/files/google_fonts.css still is not removed which causes browser to load system serif font.
Expected behavior:
/sites/default/files/google_fonts.css removed to prevent browser attempt to load disabled font.
Comments
Comment #1
BarisW commentedThanks for reporting. Good catch!
I've added it to the module. It now deletes the CSS file when the CSS Code box is empty or when there are no fonts left enabled.
http://drupal.org/commitlog/commit/14382/3fd67ab4aa99c249558bb49b342b4d2...
Added to 7.x-2.x-dev and will be part of the 7.x-2.4 on the next release.