Active
Project:
Responsive Images
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2012 at 22:38 UTC
Updated:
14 Mar 2012 at 22:38 UTC
This code
<script type="text/javascript">
<!--//--><![CDATA[//><!--
var rwd_images = {
widthBreakPoint: 480,
};
//--><!]]>
</script>
are not inserted if the the setting widthBreakPoint blank.
Or is this a feature?
The minimum solution is, but not the final, to use proper variable_get() call.
Current
$widthBreakPoint = variable_get('responsive_images_widthBreakPoint', '');
Proper
$widthBreakPoint = variable_get('responsive_images_widthBreakPoint', 480);