Closed (won't fix)
Project:
Text Size
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2011 at 20:02 UTC
Updated:
27 Jun 2012 at 07:26 UTC
Hello developers,
First of all, thank you for this great module.
This is the problem I'm facing, when trying to increase/decrease/reset the text size, it returns this javascript error. Any hints would be appreciated (drupal 6.20, Text Size 6.x-1.9)? Thank you.
Error: tsClasses[i].substring is not a function
source file: http://.../sites/all/modules/textsize/jquery.textsize.js?2
Line: 40
Comments
Comment #1
CZ commentedPlease post more information about your Drupal version, browser, OS and more.
Comment #2
zoo commentedThank you, here they are:
In the css file, using em as font size unit.
Comment #3
CZ commentedPlease delete your cookie "textsize" and clear your cache. Test it on another browser.
Comment #4
zoo commentedThank you, here it is what I have tried:
Result: both FF and IE8 return the same error ("tsClasses[i].substring is not a function").
Further configuration informations:
The settings in drupal "admin/settings/textsize" > "Advanced settings"
(NOTE: curiously, with the "XHTML element" field value changed to "div" and along with a valid ID/class selector value in the "XHTML element ID/class" field, it works!)
User Interface modules activated:
Comment #5
CZ commentedUse jQuery Update 6.x-1.1 (stable). 6.x-2.0-alpha1 have 6 bug reports.
Comment #6
zoo commentedI'm sorry. Unfortunately I don't have the time right now to try jQuery Update 6.x-1.1 (stable).
I think I'll try it later, possibly. Thank you
Comment #7
CZ commented